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@2041: choice yann@2041: bool yann@2041: prompt "Use sjlj for exceptions" yann@2041: default CC_SJLJ_EXCEPTIONS_CONFIGURE yann@2041: depends on ! BARE_METAL yann@2041: yann@2041: # This config option is used nowhere in the code on purpose. yann@2041: # It only serves as a choice entry to force neither using nor not using sjlj yann@2041: config CC_SJLJ_EXCEPTIONS_CONFIGURE yann@2041: bool yann@2041: prompt "Let configure decide" yann@2041: help yann@2041: Let configure decide if setjmp/longjmp should be used to handle yann@2041: exceptions. yann@2041: yann@2041: Choose that if you trust configure to detect the correct settings. yann@2041: This is the default choice. yann@2041: yann@2041: config CC_SJLJ_EXCEPTIONS_USE yann@2041: bool yann@2041: prompt "Force using sjlj" yann@2041: help yann@2041: Do use setjmp/longjmp for exceptions. yann@2041: This is gcc's --enable-sjlj-exceptions configure switch. yann@2041: yann@2041: Choose that if you want to use setjmp/longjmp to handle exceptions. yann@2041: yann@2041: config CC_SJLJ_EXCEPTIONS_DONT_USE yann@2041: bool yann@2041: prompt "Force not using sjlj" yann@2041: help yann@2041: Do not use setjmp/longjmp for exceptions. yann@2041: This is gcc's --disable-sjlj-exceptions configure switch. yann@2041: yann@2041: Choose that if you want to not use setjmp/longjmp to handle exceptions. yann@2041: yann@2041: endchoice