config/cc/gcc.in.2
changeset 2041 db17513ee7bf
child 2042 d1f70bef45ba
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/cc/gcc.in.2	Wed Jul 28 21:28:54 2010 +0200
     1.3 @@ -0,0 +1,69 @@
     1.4 +config CC_GCC_ENABLE_TARGET_OPTSPACE
     1.5 +    bool
     1.6 +    prompt "Optimize gcc libs for size"
     1.7 +    default y
     1.8 +    help
     1.9 +      Pass --enable-target-optspace to crossgcc's configure.
    1.10 +      
    1.11 +      This will compile crossgcc's libs with -Os.
    1.12 +
    1.13 +comment "Misc. obscure options."
    1.14 +
    1.15 +config CC_CXA_ATEXIT
    1.16 +    bool
    1.17 +    prompt "Use __cxa_atexit"
    1.18 +    default y
    1.19 +    depends on ! BARE_METAL
    1.20 +    help
    1.21 +      If you get the missing symbol "__cxa_atexit" when building C++ programs,
    1.22 +      you might want to try disabling this option.
    1.23 +
    1.24 +config CC_GCC_DISABLE_PCH
    1.25 +    bool
    1.26 +    prompt "Do not build PCH"
    1.27 +    default n
    1.28 +    help
    1.29 +      Say 'y' here to not use Pre-Compiled Headers in the resulting toolchain.
    1.30 +      at the expense of speed when compiling C++ code.
    1.31 +      
    1.32 +      For some configurations (most notably canadian?), PCH are broken, and
    1.33 +      need to be disabled. Please see:
    1.34 +        http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974
    1.35 +
    1.36 +choice
    1.37 +    bool
    1.38 +    prompt "Use sjlj for exceptions"
    1.39 +    default CC_SJLJ_EXCEPTIONS_CONFIGURE
    1.40 +    depends on ! BARE_METAL
    1.41 +
    1.42 +# This config option is used nowhere in the code on purpose.
    1.43 +# It only serves as a choice entry to force neither using nor not using sjlj
    1.44 +config CC_SJLJ_EXCEPTIONS_CONFIGURE
    1.45 +    bool
    1.46 +    prompt "Let configure decide"
    1.47 +    help
    1.48 +      Let configure decide if setjmp/longjmp should be used to handle
    1.49 +      exceptions.
    1.50 +      
    1.51 +      Choose that if you trust configure to detect the correct settings.
    1.52 +      This is the default choice.
    1.53 +
    1.54 +config CC_SJLJ_EXCEPTIONS_USE
    1.55 +    bool
    1.56 +    prompt "Force using sjlj"
    1.57 +    help
    1.58 +      Do use setjmp/longjmp for exceptions.
    1.59 +      This is gcc's --enable-sjlj-exceptions configure switch.
    1.60 +      
    1.61 +      Choose that if you want to use setjmp/longjmp to handle exceptions.
    1.62 +
    1.63 +config CC_SJLJ_EXCEPTIONS_DONT_USE
    1.64 +    bool
    1.65 +    prompt "Force not using sjlj"
    1.66 +    help
    1.67 +      Do not use setjmp/longjmp for exceptions.
    1.68 +      This is gcc's --disable-sjlj-exceptions configure switch.
    1.69 +      
    1.70 +      Choose that if you want to not use setjmp/longjmp to handle exceptions.
    1.71 +
    1.72 +endchoice