config/cc/gcc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jan 27 21:37:03 2009 +0000 (2009-01-27)
changeset 1162 31348b787bed
parent 1129 cf598d70f6ea
child 1268 5594b05bc2d8
permissions -rw-r--r--
Add the latest gcc-4.3.3 with the forward-ported patchset from gcc-4.3.2.

/trunk/patches/gcc/4.3.3/210-noteGNUstack-00.patch | 47 26 21 0 ++++---
/trunk/patches/gcc/4.3.3/270-missing-execinfo_h.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/260-uclibc-conf-noupstream.patch | 13 9 4 0 +-
/trunk/patches/gcc/4.3.3/220-noteGNUstack-01.patch | 97 51 46 0 +++++++-------
/trunk/patches/gcc/4.3.3/240-pr25343.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/100-alpha-mieee-default.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/230-pr34571.patch | 23 8 15 0 +--
/trunk/patches/gcc/4.3.3/350-sh-without-headers.patch | 17 10 7 0 +-
/trunk/patches/gcc/4.3.3/330-unwind-for-uClibc.patch | 19 12 7 0 ++-
/trunk/patches/gcc/4.3.3/190-libstdc++-pic.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/150-sparc64-bsd.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/290-index_macro.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/140-netbsd-symbolic.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/110-trampolinewarn.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/160-flatten-switch-stmt-00.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/280-c99-complex-ugly-hack.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/300-libmudflap-susv3-legacy.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/170-libiberty-pic.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/250-sh-pr24836.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/120-java-nomulti.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/320-alpha-signal_h.patch | 14 10 4 0 +-
/trunk/patches/gcc/4.3.3/180-superh-default-multilib.patch | 13 9 4 0 +-
/trunk/patches/gcc/4.3.3/340-make-mno-spe-work-as-expected.patch | 41 23 18 0 +++---
/trunk/patches/gcc/4.3.3/200-pr24170.patch | 23 14 9 0 ++-
/trunk/patches/gcc/4.3.3/310-arm-softfloat.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/130-cross-compile.patch | 23 14 9 0 ++-
/trunk/config/cc/gcc.in | 7 7 0 0 +
27 files changed, 334 insertions(+), 210 deletions(-)
     1 # Compiler options
     2 
     3 config CC_gcc
     4     select CC_SUPPORT_CXX
     5     select CC_SUPPORT_FORTRAN
     6     select CC_SUPPORT_JAVA
     7     select CC_SUPPORT_ADA
     8     select CC_SUPPORT_OBJC
     9     select CC_SUPPORT_OBJCXX
    10     help
    11       gcc is the full-blown GNU compiler. This is what most people will choose.
    12       
    13       gcc supports many languages, a powerful code parser, optimised binary
    14       output, and lots of other features.
    15 
    16 choice
    17     bool
    18     prompt "gcc version"
    19 
    20 config CC_V_3_2_3
    21     bool
    22     prompt "3.2.3 (OBSOLETE)"
    23     depends on OBSOLETE
    24 
    25 config CC_V_3_3_6
    26     bool
    27     prompt "3.3.6 (OBSOLETE)"
    28     depends on OBSOLETE
    29 
    30 config CC_V_3_4_6
    31     bool
    32     prompt "3.4.6 (OBSOLETE)"
    33     depends on OBSOLETE
    34 
    35 config CC_V_4_0_0
    36     bool
    37     prompt "4.0.0 (OBSOLETE)"
    38     depends on OBSOLETE
    39 
    40 config CC_V_4_0_1
    41     bool
    42     prompt "4.0.1 (OBSOLETE)"
    43     depends on OBSOLETE
    44 
    45 config CC_V_4_0_2
    46     bool
    47     prompt "4.0.2 (OBSOLETE)"
    48     depends on OBSOLETE
    49 
    50 config CC_V_4_0_3
    51     bool
    52     prompt "4.0.3 (OBSOLETE)"
    53     depends on OBSOLETE
    54 
    55 config CC_V_4_0_4
    56     bool
    57     prompt "4.0.4"
    58 
    59 config CC_V_4_1_0
    60     bool
    61     prompt "4.1.0 (OBSOLETE)"
    62     depends on OBSOLETE
    63 
    64 config CC_V_4_1_1
    65     bool
    66     prompt "4.1.1 (OBSOLETE)"
    67     depends on OBSOLETE
    68 
    69 config CC_V_4_1_2
    70     bool
    71     prompt "4.1.2"
    72 
    73 config CC_V_4_2_0
    74     bool
    75     prompt "4.2.0"
    76 
    77 config CC_V_4_2_1
    78     bool
    79     prompt "4.2.1"
    80 
    81 config CC_V_4_2_2
    82     bool
    83     prompt "4.2.2"
    84 
    85 config CC_V_4_2_3
    86     bool
    87     prompt "4.2.3"
    88 
    89 config CC_V_4_2_4
    90     bool
    91     prompt "4.2.4"
    92 
    93 config CC_V_4_3_0
    94     bool
    95     prompt "4.3.0 (EXPERIMENTAL)"
    96     depends on EXPERIMENTAL
    97     select CC_GCC_4_3_or_later
    98 
    99 config CC_V_4_3_1
   100     bool
   101     prompt "4.3.1"
   102     select CC_GCC_4_3_or_later
   103 
   104 config CC_V_4_3_2
   105     bool
   106     prompt "4.3.2"
   107     select CC_GCC_4_3_or_later
   108 
   109 config CC_V_4_3_3
   110     bool
   111     prompt "4.3.3 (EXPERIMENTAL)"
   112     depends on EXPERIMENTAL
   113     select CC_GCC_4_3_or_later
   114 
   115 # CT_INSERT_VERSION_ABOVE
   116 # Don't remove above line!
   117 endchoice
   118 
   119 config CC_VERSION
   120     string
   121     default "3.2.3" if CC_V_3_2_3
   122     default "3.3.6" if CC_V_3_3_6
   123     default "3.4.6" if CC_V_3_4_6
   124     default "4.0.0" if CC_V_4_0_0
   125     default "4.0.1" if CC_V_4_0_1
   126     default "4.0.2" if CC_V_4_0_2
   127     default "4.0.3" if CC_V_4_0_3
   128     default "4.0.4" if CC_V_4_0_4
   129     default "4.1.0" if CC_V_4_1_0
   130     default "4.1.1" if CC_V_4_1_1
   131     default "4.1.2" if CC_V_4_1_2
   132     default "4.2.0" if CC_V_4_2_0
   133     default "4.2.1" if CC_V_4_2_1
   134     default "4.2.2" if CC_V_4_2_2
   135     default "4.2.3" if CC_V_4_2_3
   136     default "4.2.4" if CC_V_4_2_4
   137     default "4.3.0" if CC_V_4_3_0
   138     default "4.3.1" if CC_V_4_3_1
   139     default "4.3.2" if CC_V_4_3_2
   140     default "4.3.3" if CC_V_4_3_3
   141 # CT_INSERT_VERSION_STRING_ABOVE
   142 # Don't remove above line!
   143 
   144 config CC_GCC_4_3_or_later
   145     bool
   146     default n
   147     select GMP_MPFR
   148 
   149 config CC_CXA_ATEXIT
   150     bool
   151     prompt "Use __cxa_atexit"
   152     default y
   153     depends on ! BARE_METAL
   154     help
   155       If you get the missing symbol "__cxa_atexit" when building C++ programs,
   156       you might want to try disabling this option.
   157 
   158 choice
   159     bool
   160     prompt "Use sjlj for exceptions"
   161     default CC_SJLJ_EXCEPTIONS_CONFIGURE
   162     depends on ! BARE_METAL
   163 
   164 # This config option is used nowhere in the code on purpose.
   165 # It only serves as a choice entry to force neither using nor not using sjlj
   166 config CC_SJLJ_EXCEPTIONS_CONFIGURE
   167     bool
   168     prompt "Let configure decide"
   169     help
   170       Let configure decide if setjmp/longjmp should be used to handle
   171       exceptions.
   172       
   173       Choose that if you trust configure to detect the correct settings.
   174       This is the default choice.
   175 
   176 config CC_SJLJ_EXCEPTIONS_USE
   177     bool
   178     prompt "Force using sjlj"
   179     help
   180       Do use setjmp/longjmp for exceptions.
   181       This is gcc's --enable-sjlj-exceptions configure switch.
   182       
   183       Choose that if you want to use setjmp/longjmp to handle exceptions.
   184 
   185 config CC_SJLJ_EXCEPTIONS_DONT_USE
   186     bool
   187     prompt "Force not using sjlj"
   188     help
   189       Do not use setjmp/longjmp for exceptions.
   190       This is gcc's --disable-sjlj-exceptions configure switch.
   191       
   192       Choose that if you want to not use setjmp/longjmp to handle exceptions.
   193 
   194 endchoice
   195 
   196 config CC_CORE_EXTRA_CONFIG
   197     string
   198     prompt "Core gcc extra config"
   199     default ""
   200     help
   201       Extra flags to pass onto ./configure when configuring the core gcc.
   202       
   203       The core gcc is a stripped down, C-only compiler needed to build
   204       the C library. Kinda bootstrap gcc, if you wish.
   205 
   206 config CC_EXTRA_CONFIG
   207     string
   208     prompt "gcc extra config"
   209     default ""
   210     depends on ! BARE_METAL
   211     help
   212       Extra flags to pass onto ./configure when configuring gcc.
   213 
   214 config CC_PKGVERSION
   215     string
   216     prompt "gcc ID string"
   217     depends on CC_GCC_4_3_or_later
   218     default "crosstool-NG-${CT_VERSION}"
   219     help
   220       Specify a string that identifies your package. You may wish to include
   221       a build number or build date. This version string will be included in
   222       the output of gcc --version.
   223 
   224       This is passed to the configure flag --with-pkgversion.
   225 
   226 config CC_BUGURL
   227     string
   228     prompt "gcc bug URL"
   229     depends on CC_GCC_4_3_or_later
   230     default ""
   231     help
   232       Specify the URL that users should visit if they wish to report a bug.
   233 
   234 config CC_LANG_JAVA_USE_ECJ
   235     bool
   236     default y
   237     depends on CC_LANG_JAVA
   238     depends on CC_GCC_4_3_or_later