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 comment "Misc. obscure options."
14 prompt "Use __cxa_atexit"
16 depends on ! BARE_METAL
18 If you get the missing symbol "__cxa_atexit" when building C++ programs,
19 you might want to try disabling this option.
21 config CC_GCC_DISABLE_PCH
23 prompt "Do not build PCH"
26 Say 'y' here to not use Pre-Compiled Headers in the resulting toolchain.
27 at the expense of speed when compiling C++ code.
29 For some configurations (most notably canadian?), PCH are broken, and
30 need to be disabled. Please see:
31 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974
33 config CC_GCC_SJLJ_EXCEPTIONS
35 prompt "Use sjlj for exceptions"
38 'sjlj' is short for setjmp/longjmp.
40 On some architectures, stack unwinding during exception handling
41 works perfectly well without using sjlj, while on some others,
42 use of sjlj is required for proper stack unwinding.
44 Option | sjlj use | Associated ./configure switch
45 ---------+--------------------+--------------------------------
46 Y | forcibly used | --enable-sjlj-exceptions
47 M | auto | (none, ./configure decides)
48 N | forcibly not used | --disable-sjlj-exceptions
50 It should be safe to say 'M' or 'N'.
52 It can happen that ./configure is wrong in some cases. Known
53 case is for ARM big endian, where you should say 'N'.
55 config CC_GCC_LIBMUDFLAP
57 prompt "Compile libmudflap"
60 libmudflap is a pointer-use checking tool, which can detect
61 various mis-usages of pointers in C and (to some extents) C++.
63 You should say 'N' here, as libmduflap generates instrumented
64 code (thus it is a bit bigger and a bit slower) and requires
65 re-compilation and re-link, while it exists better run-time
66 alternatives (eg. DUMA, dmalloc...) that need neither re-
67 compilation nor re-link.