Merge patches sent by Robert P. J. Day <rpjday@mindspring.com>.
Warning: the buildroot folks purposedly removed the skip-comment patch but didn't really said why. Keeping it for the sake of having it in svn just in case (removing it will be easier thant not having it at all).
5 comment "Core C Compiler (used to build the C library)"
9 prompt "Use a different core C compiler"
12 Use a different compiler to build the C library than the one
13 in the final toolchain.
15 You can change the compiler used, or only the version used.
17 You most probably don't need that.
21 default y if ! CC_USE_CORE && CC_GCC
22 default n if CC_USE_CORE || ! CC_GCC
26 default y if ! CC_USE_CORE && CC_TCC
27 default n if CC_USE_CORE || ! CC_TCC
31 prompt "Core C compiler:"
32 depends on CC_USE_CORE
40 # prompt "tcc (EXPERIMENTAL)"
41 # depends on EXPERIMENTAL
45 config CC_CORE_VERSION
50 default "gcc" if CC_CORE_GCC
51 default "tcc" if CC_CORE_TCC
53 if CC_CORE_GCC && CC_USE_CORE
54 source config/cc_core_gcc.in
57 if CC_CORE_TCC && CC_USE_CORE
58 source config/cc_core_tcc.in
61 comment "Final C compiler"
65 prompt "Final C compiler"
72 select CC_SUPPORT_FORTRAN
73 select CC_SUPPORT_JAVA
75 select CC_SUPPORT_OBJC
76 select CC_SUPPORT_OBJCXX
80 # prompt "tcc (EXPERIMENTAL)"
82 # depends on EXPERIMENTAL
91 default "gcc" if CC_GCC
92 default "tcc" if CC_TCC
95 source config/cc_gcc.in
99 source config/cc_tcc.in
102 config CC_SUPPORT_CXX
105 config CC_SUPPORT_FORTRAN
108 config CC_SUPPORT_JAVA
111 config CC_SUPPORT_ADA
114 config CC_SUPPORT_OBJC
117 config CC_SUPPORT_OBJCXX
120 comment "Additionnal supported languages:"
126 depends on CC_SUPPORT_CXX
128 Only select this if you know that your specific combination of
129 compiler and its version does support this language.
131 config CC_LANG_FORTRAN
135 depends on CC_SUPPORT_FORTRAN
137 Only select this if you know that your specific combination of
138 compiler and its version does support this language.
144 depends on CC_SUPPORT_JAVA
146 Only select this if you know that your specific combination of
147 compiler and its version does support this language.
153 depends on CC_SUPPORT_ADA
155 Only select this if you know that your specific combination of
156 compiler and its version does support this language.
162 depends on CC_SUPPORT_OBJC
164 Only select this if you know that your specific combination of
165 compiler and its version does support this language.
167 config CC_LANG_OBJCXX
169 prompt "Objective-C++"
171 depends on CC_SUPPORT_OBJCXX
173 Only select this if you know that your specific combination of
174 compiler and its version does support this language.
176 config CC_LANG_OTHERS
178 prompt "Other languages"
181 Enter here a comma-separated list of languages that you know your compiler
182 supports, besides those listed above.
184 Eg. gcc-4.1+ has a toy programming language, treelang. As it is not usefull
185 in real life, it is not available in the selection above.