author | "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
Wed Jul 28 21:28:54 2010 +0200 (2010-07-28) | |
changeset 2041 | db17513ee7bf |
child 2042 | d1f70bef45ba |
permissions | -rw-r--r-- |
yann@2041 | 1 |
config CC_GCC_ENABLE_TARGET_OPTSPACE |
yann@2041 | 2 |
bool |
yann@2041 | 3 |
prompt "Optimize gcc libs for size" |
yann@2041 | 4 |
default y |
yann@2041 | 5 |
help |
yann@2041 | 6 |
Pass --enable-target-optspace to crossgcc's configure. |
yann@2041 | 7 |
|
yann@2041 | 8 |
This will compile crossgcc's libs with -Os. |
yann@2041 | 9 |
|
yann@2041 | 10 |
comment "Misc. obscure options." |
yann@2041 | 11 |
|
yann@2041 | 12 |
config CC_CXA_ATEXIT |
yann@2041 | 13 |
bool |
yann@2041 | 14 |
prompt "Use __cxa_atexit" |
yann@2041 | 15 |
default y |
yann@2041 | 16 |
depends on ! BARE_METAL |
yann@2041 | 17 |
help |
yann@2041 | 18 |
If you get the missing symbol "__cxa_atexit" when building C++ programs, |
yann@2041 | 19 |
you might want to try disabling this option. |
yann@2041 | 20 |
|
yann@2041 | 21 |
config CC_GCC_DISABLE_PCH |
yann@2041 | 22 |
bool |
yann@2041 | 23 |
prompt "Do not build PCH" |
yann@2041 | 24 |
default n |
yann@2041 | 25 |
help |
yann@2041 | 26 |
Say 'y' here to not use Pre-Compiled Headers in the resulting toolchain. |
yann@2041 | 27 |
at the expense of speed when compiling C++ code. |
yann@2041 | 28 |
|
yann@2041 | 29 |
For some configurations (most notably canadian?), PCH are broken, and |
yann@2041 | 30 |
need to be disabled. Please see: |
yann@2041 | 31 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974 |
yann@2041 | 32 |
|
yann@2041 | 33 |
choice |
yann@2041 | 34 |
bool |
yann@2041 | 35 |
prompt "Use sjlj for exceptions" |
yann@2041 | 36 |
default CC_SJLJ_EXCEPTIONS_CONFIGURE |
yann@2041 | 37 |
depends on ! BARE_METAL |
yann@2041 | 38 |
|
yann@2041 | 39 |
# This config option is used nowhere in the code on purpose. |
yann@2041 | 40 |
# It only serves as a choice entry to force neither using nor not using sjlj |
yann@2041 | 41 |
config CC_SJLJ_EXCEPTIONS_CONFIGURE |
yann@2041 | 42 |
bool |
yann@2041 | 43 |
prompt "Let configure decide" |
yann@2041 | 44 |
help |
yann@2041 | 45 |
Let configure decide if setjmp/longjmp should be used to handle |
yann@2041 | 46 |
exceptions. |
yann@2041 | 47 |
|
yann@2041 | 48 |
Choose that if you trust configure to detect the correct settings. |
yann@2041 | 49 |
This is the default choice. |
yann@2041 | 50 |
|
yann@2041 | 51 |
config CC_SJLJ_EXCEPTIONS_USE |
yann@2041 | 52 |
bool |
yann@2041 | 53 |
prompt "Force using sjlj" |
yann@2041 | 54 |
help |
yann@2041 | 55 |
Do use setjmp/longjmp for exceptions. |
yann@2041 | 56 |
This is gcc's --enable-sjlj-exceptions configure switch. |
yann@2041 | 57 |
|
yann@2041 | 58 |
Choose that if you want to use setjmp/longjmp to handle exceptions. |
yann@2041 | 59 |
|
yann@2041 | 60 |
config CC_SJLJ_EXCEPTIONS_DONT_USE |
yann@2041 | 61 |
bool |
yann@2041 | 62 |
prompt "Force not using sjlj" |
yann@2041 | 63 |
help |
yann@2041 | 64 |
Do not use setjmp/longjmp for exceptions. |
yann@2041 | 65 |
This is gcc's --disable-sjlj-exceptions configure switch. |
yann@2041 | 66 |
|
yann@2041 | 67 |
Choose that if you want to not use setjmp/longjmp to handle exceptions. |
yann@2041 | 68 |
|
yann@2041 | 69 |
endchoice |