config/cc/gcc.in.2
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--
cc/gcc: move options around
     1 config CC_GCC_ENABLE_TARGET_OPTSPACE
     2     bool
     3     prompt "Optimize gcc libs for size"
     4     default y
     5     help
     6       Pass --enable-target-optspace to crossgcc's configure.
     7       
     8       This will compile crossgcc's libs with -Os.
     9 
    10 comment "Misc. obscure options."
    11 
    12 config CC_CXA_ATEXIT
    13     bool
    14     prompt "Use __cxa_atexit"
    15     default y
    16     depends on ! BARE_METAL
    17     help
    18       If you get the missing symbol "__cxa_atexit" when building C++ programs,
    19       you might want to try disabling this option.
    20 
    21 config CC_GCC_DISABLE_PCH
    22     bool
    23     prompt "Do not build PCH"
    24     default n
    25     help
    26       Say 'y' here to not use Pre-Compiled Headers in the resulting toolchain.
    27       at the expense of speed when compiling C++ code.
    28       
    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
    32 
    33 choice
    34     bool
    35     prompt "Use sjlj for exceptions"
    36     default CC_SJLJ_EXCEPTIONS_CONFIGURE
    37     depends on ! BARE_METAL
    38 
    39 # This config option is used nowhere in the code on purpose.
    40 # It only serves as a choice entry to force neither using nor not using sjlj
    41 config CC_SJLJ_EXCEPTIONS_CONFIGURE
    42     bool
    43     prompt "Let configure decide"
    44     help
    45       Let configure decide if setjmp/longjmp should be used to handle
    46       exceptions.
    47       
    48       Choose that if you trust configure to detect the correct settings.
    49       This is the default choice.
    50 
    51 config CC_SJLJ_EXCEPTIONS_USE
    52     bool
    53     prompt "Force using sjlj"
    54     help
    55       Do use setjmp/longjmp for exceptions.
    56       This is gcc's --enable-sjlj-exceptions configure switch.
    57       
    58       Choose that if you want to use setjmp/longjmp to handle exceptions.
    59 
    60 config CC_SJLJ_EXCEPTIONS_DONT_USE
    61     bool
    62     prompt "Force not using sjlj"
    63     help
    64       Do not use setjmp/longjmp for exceptions.
    65       This is gcc's --disable-sjlj-exceptions configure switch.
    66       
    67       Choose that if you want to not use setjmp/longjmp to handle exceptions.
    68 
    69 endchoice