yann@2041: config CC_GCC_ENABLE_TARGET_OPTSPACE yann@2041: bool yann@2041: prompt "Optimize gcc libs for size" yann@2041: default y yann@2041: help yann@2041: Pass --enable-target-optspace to crossgcc's configure. yann@2041: yann@2041: This will compile crossgcc's libs with -Os. yann@2041: yann@2041: comment "Misc. obscure options." yann@2041: yann@2041: config CC_CXA_ATEXIT yann@2041: bool yann@2041: prompt "Use __cxa_atexit" yann@2041: default y yann@2041: depends on ! BARE_METAL yann@2041: help yann@2041: If you get the missing symbol "__cxa_atexit" when building C++ programs, yann@2041: you might want to try disabling this option. yann@2041: yann@2041: config CC_GCC_DISABLE_PCH yann@2041: bool yann@2041: prompt "Do not build PCH" yann@2041: default n yann@2041: help yann@2041: Say 'y' here to not use Pre-Compiled Headers in the resulting toolchain. yann@2041: at the expense of speed when compiling C++ code. yann@2041: yann@2041: For some configurations (most notably canadian?), PCH are broken, and yann@2041: need to be disabled. Please see: yann@2041: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974 yann@2041: yann@2042: config CC_GCC_SJLJ_EXCEPTIONS yann@2042: tristate yann@2041: prompt "Use sjlj for exceptions" yann@2042: default m yann@2041: help yann@2042: 'sjlj' is short for setjmp/longjmp. yann@2041: yann@2042: On some architectures, stack unwinding during exception handling yann@2042: works perfectly well without using sjlj, while on some others, yann@2042: use of sjlj is required for proper stack unwinding. yann@2041: yann@2042: Option | sjlj use | Associated ./configure switch yann@2042: ---------+--------------------+-------------------------------- yann@2042: Y | forcibly used | --enable-sjlj-exceptions yann@2042: M | auto | (none, ./configure decides) yann@2042: N | forcibly not used | --disable-sjlj-exceptions yann@2041: yann@2042: It should be safe to say 'M' or 'N'. yann@2042: yann@2042: It can happen that ./configure is wrong in some cases. Known yann@2042: case is for ARM big endian, where you should say 'N'.