1 config CC_GCC_ENABLE_TARGET_OPTSPACE
3 prompt "Optimize gcc libs for size"
6 Pass --enable-target-optspace to crossgcc's configure.
8 This will compile crossgcc's libs with -Os.
10 config CC_GCC_USE_GRAPHITE
12 prompt "Enable GRAPHITE loop optimisations"
14 depends on CC_GCC_HAS_GRAPHITE
15 select CC_GCC_USE_PPL_CLOOG
17 Enable the GRAPHITE loop optimsations.
19 This requires the PPL and CLooG companion libraries, and
20 those will be automatically build for you.
22 On some systems (eg. Cygwin), PPL and/or CLooG may not
23 build properly (yet), so you'll have to say 'N' here.
29 depends on CC_GCC_HAS_LTO
30 select CC_GCC_USE_LIBELF
32 Enable the Link Time Optimisations.
34 This will require the libelf companion library, and it
35 wil be build automatically for you.
37 config CC_STATIC_LIBSTDCXX
39 prompt "Link libstdc++ statically into the gcc binary"
41 depends on CC_GCC_4_4_or_later
43 Newer gcc versions use the PPL library which is C++ code. Statically
44 linking libstdc++ increases the likeliness that the gcc binary will
45 run on machines other than the one which it was built on, without
46 having to worry about distributing the matching version of libstdc++
49 comment "Misc. obscure options."
53 prompt "Use __cxa_atexit"
55 depends on ! BARE_METAL
57 If you get the missing symbol "__cxa_atexit" when building C++ programs,
58 you might want to try disabling this option.
60 config CC_GCC_DISABLE_PCH
62 prompt "Do not build PCH"
65 Say 'y' here to not use Pre-Compiled Headers in the resulting toolchain.
66 at the expense of speed when compiling C++ code.
68 For some configurations (most notably canadian?), PCH are broken, and
69 need to be disabled. Please see:
70 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974
72 config CC_GCC_SJLJ_EXCEPTIONS
74 prompt "Use sjlj for exceptions"
75 depends on ! BARE_METAL
78 'sjlj' is short for setjmp/longjmp.
80 On some architectures, stack unwinding during exception handling
81 works perfectly well without using sjlj, while on some others,
82 use of sjlj is required for proper stack unwinding.
84 Option | sjlj use | Associated ./configure switch
85 ---------+--------------------+--------------------------------
86 Y | forcibly used | --enable-sjlj-exceptions
87 M | auto | (none, ./configure decides)
88 N | forcibly not used | --disable-sjlj-exceptions
90 It should be safe to say 'M' or 'N'.
92 It can happen that ./configure is wrong in some cases. Known
93 case is for ARM big endian, where you should say 'N'.
95 config CC_GCC_LIBMUDFLAP
97 prompt "Compile libmudflap"
100 libmudflap is a pointer-use checking tool, which can detect
101 various mis-usages of pointers in C and (to some extents) C++.
103 You should say 'N' here, as libmduflap generates instrumented
104 code (thus it is a bit bigger and a bit slower) and requires
105 re-compilation and re-link, while it exists better run-time
106 alternatives (eg. DUMA, dmalloc...) that need neither re-
107 compilation nor re-link.