config/cc/gcc.in.2
author Arnaud Lacombe <lacombar@gmail.com>
Thu Aug 05 17:59:51 2010 +0200 (2010-08-05)
changeset 2069 366bd2b22675
parent 2045 fdaa6c7f6dea
child 2122 eb837be50f8f
permissions -rw-r--r--
complibs/mpc: fix MPC 0.8.1 build with MPFR 3.0.0

This is the change introduced by revision 734 of MPC repository.

Author: Paul Zimmermann <Paul.Zimmermann@loria.fr>
Revision log: [acos.c] fixed problem with GMP_RNDA (should be MPFR_RNDA, and code was wrong)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
     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 config CC_STATIC_LIBSTDCXX
    11     bool
    12     prompt "Link libstdc++ statically into the gcc binary"
    13     default y
    14     depends on CC_GCC_4_4_or_later
    15     help
    16       Newer gcc versions use the PPL library which is C++ code.  Statically
    17       linking libstdc++ increases the likeliness that the gcc binary will
    18       run on machines other than the one which it was built on, without
    19       having to worry about distributing the matching version of libstdc++
    20       along with it.
    21 
    22 comment "Misc. obscure options."
    23 
    24 config CC_CXA_ATEXIT
    25     bool
    26     prompt "Use __cxa_atexit"
    27     default y
    28     depends on ! BARE_METAL
    29     help
    30       If you get the missing symbol "__cxa_atexit" when building C++ programs,
    31       you might want to try disabling this option.
    32 
    33 config CC_GCC_DISABLE_PCH
    34     bool
    35     prompt "Do not build PCH"
    36     default n
    37     help
    38       Say 'y' here to not use Pre-Compiled Headers in the resulting toolchain.
    39       at the expense of speed when compiling C++ code.
    40       
    41       For some configurations (most notably canadian?), PCH are broken, and
    42       need to be disabled. Please see:
    43         http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974
    44 
    45 config CC_GCC_SJLJ_EXCEPTIONS
    46     tristate
    47     prompt "Use sjlj for exceptions"
    48     depends on ! BARE_METAL
    49     default m
    50     help
    51       'sjlj' is short for setjmp/longjmp.
    52       
    53       On some architectures, stack unwinding during exception handling
    54       works perfectly well without using sjlj, while on some others,
    55       use of sjlj is required for proper stack unwinding.
    56       
    57        Option  | sjlj use           | Associated ./configure switch
    58       ---------+--------------------+--------------------------------
    59          Y     | forcibly used      | --enable-sjlj-exceptions
    60          M     | auto               | (none, ./configure decides)
    61          N     | forcibly not used  | --disable-sjlj-exceptions
    62       
    63       It should be safe to say 'M' or 'N'.
    64       
    65       It can happen that ./configure is wrong in some cases. Known
    66       case is for ARM big endian, where you should say 'N'.
    67 
    68 config CC_GCC_LIBMUDFLAP
    69     bool
    70     prompt "Compile libmudflap"
    71     default n
    72     help
    73       libmudflap is a pointer-use checking tool, which can detect
    74       various mis-usages of pointers in C and (to some extents) C++.
    75       
    76       You should say 'N' here, as libmduflap generates instrumented
    77       code (thus it is a bit bigger and a bit slower) and requires
    78       re-compilation and re-link, while it exists better run-time
    79       alternatives (eg. DUMA, dmalloc...) that need neither re-
    80       compilation nor re-link.