Fix building atop for TCC compiler and others C compilers#375
Open
GermanAizek wants to merge 1 commit intoAtoptool:masterfrom
Open
Fix building atop for TCC compiler and others C compilers#375GermanAizek wants to merge 1 commit intoAtoptool:masterfrom
GermanAizek wants to merge 1 commit intoAtoptool:masterfrom
Conversation
Clang, GCC, TCC, TDM-GCC successful building. My experiments on 2 CPUs Xeon E5-2699v3 (72 threads): I am surprised by the compilation speed on TCC, as well as the resource consumption on monitoring - TCC 1s compilation - Clang 5s compilation - GCC 6s compialtion Wiki: https://en.wikipedia.org/wiki/Tiny_C_Compiler Official site: https://bellard.org/tcc/
Owner
|
What is the purpose of adding the |
Contributor
Author
For compability with TCC, TDM-GCC and GCC < 4.3. |
Contributor
Author
I'll show compile error later because of which I didn't intend to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clang, GCC, TCC, TDM-GCC successful building. I also used offsetof() standard, which is accepted by all compilers, instead of the STROFFSET() macro.
https://man7.org/linux/man-pages/man3/offsetof.3.html
My experiments on 2 CPUs Xeon E5-2699v3 (72 threads): I am surprised by the compilation speed on TCC, as well as equivalent resource consumption on monitoring
I think Gentoo users will idolize Fabrice Bellard.
Install
tcccompiler easyapt install tccWiki: https://en.wikipedia.org/wiki/Tiny_C_Compiler
Official site: https://bellard.org/tcc/