config/cc/gcc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 31 12:43:49 2010 +0100 (2010-01-31)
changeset 1779 708c0b301c7b
parent 1778 9d1c1b6af205
child 1805 ca5e7981fc24
permissions -rw-r--r--
cc/gcc: remove 4.3.0

gcc-4.3.0 never got !EXPERIMENTAL, and no one either confirmed nor complained.
     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 # Don't remove next line
    20 # CT_INSERT_VERSION_BELOW
    21 
    22 config CC_V_4_4_3
    23     bool
    24     prompt "4.4.3"
    25     select CC_GCC_4_3_or_later
    26     select CC_GCC_4_4_or_later
    27 
    28 config CC_V_4_4_2
    29     bool
    30     prompt "4.4.2"
    31     select CC_GCC_4_3_or_later
    32     select CC_GCC_4_4_or_later
    33 
    34 config CC_V_4_4_1
    35     bool
    36     prompt "4.4.1"
    37     select CC_GCC_4_3_or_later
    38     select CC_GCC_4_4_or_later
    39 
    40 config CC_V_4_4_0
    41     bool
    42     prompt "4.4.0"
    43     select CC_GCC_4_3_or_later
    44     select CC_GCC_4_4_or_later
    45 
    46 config CC_V_4_3_4
    47     bool
    48     prompt "4.3.4"
    49     select CC_GCC_4_3_or_later
    50 
    51 config CC_V_4_3_3
    52     bool
    53     prompt "4.3.3"
    54     select CC_GCC_4_3_or_later
    55 
    56 config CC_V_4_3_2
    57     bool
    58     prompt "4.3.2"
    59     select CC_GCC_4_3_or_later
    60 
    61 config CC_V_4_3_1
    62     bool
    63     prompt "4.3.1"
    64     select CC_GCC_4_3_or_later
    65 
    66 config CC_V_4_2_4
    67     bool
    68     prompt "4.2.4"
    69 
    70 config CC_V_4_2_3
    71     bool
    72     prompt "4.2.3 (OBSOLETE)"
    73     depends on OBSOLETE
    74 
    75 config CC_V_4_2_2
    76     bool
    77     prompt "4.2.2"
    78 
    79 config CC_V_4_2_1
    80     bool
    81     prompt "4.2.1 (OBSOLETE)"
    82     depends on OBSOLETE
    83 
    84 config CC_V_4_2_0
    85     bool
    86     prompt "4.2.0 (OBSOLETE)"
    87     depends on OBSOLETE
    88 
    89 config CC_V_4_1_2
    90     bool
    91     prompt "4.1.2 (OBSOLETE)"
    92     depends on OBSOLETE
    93 
    94 config CC_V_4_0_4
    95     bool
    96     prompt "4.0.4 (OBSOLETE)"
    97     depends on OBSOLETE
    98 
    99 config CC_V_3_4_6
   100     bool
   101     prompt "3.4.6 (OBSOLETE)"
   102     depends on OBSOLETE
   103 
   104 endchoice
   105 
   106 config CC_GCC_4_3_or_later
   107     bool
   108     default n
   109     select GMP_MPFR
   110 
   111 config CC_GCC_4_4_or_later
   112     bool
   113     default n
   114     select PPL_CLOOG_MPC
   115 
   116 config CC_VERSION
   117     string
   118 # Don't remove next line
   119 # CT_INSERT_VERSION_STRING_BELOW
   120     default "4.4.3" if CC_V_4_4_3
   121     default "4.4.2" if CC_V_4_4_2
   122     default "4.4.1" if CC_V_4_4_1
   123     default "4.4.0" if CC_V_4_4_0
   124     default "4.3.4" if CC_V_4_3_4
   125     default "4.3.3" if CC_V_4_3_3
   126     default "4.3.2" if CC_V_4_3_2
   127     default "4.3.1" if CC_V_4_3_1
   128     default "4.3.0" if CC_V_4_3_0
   129     default "4.2.4" if CC_V_4_2_4
   130     default "4.2.3" if CC_V_4_2_3
   131     default "4.2.2" if CC_V_4_2_2
   132     default "4.2.1" if CC_V_4_2_1
   133     default "4.2.0" if CC_V_4_2_0
   134     default "4.1.2" if CC_V_4_1_2
   135     default "4.0.4" if CC_V_4_0_4
   136     default "3.4.6" if CC_V_3_4_6
   137 
   138 config CC_CXA_ATEXIT
   139     bool
   140     prompt "Use __cxa_atexit"
   141     default y
   142     depends on ! BARE_METAL
   143     help
   144       If you get the missing symbol "__cxa_atexit" when building C++ programs,
   145       you might want to try disabling this option.
   146 
   147 choice
   148     bool
   149     prompt "Use sjlj for exceptions"
   150     default CC_SJLJ_EXCEPTIONS_CONFIGURE
   151     depends on ! BARE_METAL
   152 
   153 # This config option is used nowhere in the code on purpose.
   154 # It only serves as a choice entry to force neither using nor not using sjlj
   155 config CC_SJLJ_EXCEPTIONS_CONFIGURE
   156     bool
   157     prompt "Let configure decide"
   158     help
   159       Let configure decide if setjmp/longjmp should be used to handle
   160       exceptions.
   161       
   162       Choose that if you trust configure to detect the correct settings.
   163       This is the default choice.
   164 
   165 config CC_SJLJ_EXCEPTIONS_USE
   166     bool
   167     prompt "Force using sjlj"
   168     help
   169       Do use setjmp/longjmp for exceptions.
   170       This is gcc's --enable-sjlj-exceptions configure switch.
   171       
   172       Choose that if you want to use setjmp/longjmp to handle exceptions.
   173 
   174 config CC_SJLJ_EXCEPTIONS_DONT_USE
   175     bool
   176     prompt "Force not using sjlj"
   177     help
   178       Do not use setjmp/longjmp for exceptions.
   179       This is gcc's --disable-sjlj-exceptions configure switch.
   180       
   181       Choose that if you want to not use setjmp/longjmp to handle exceptions.
   182 
   183 endchoice
   184 
   185 config CC_ENABLE_CXX_FLAGS
   186     string
   187     prompt "Flags to pass to --enable-cxx-flags"
   188     default ""
   189     help
   190       Enter here the value of the gcc's ./configure option --enable-cxx-flags.
   191       Leave empty if you don't know better.
   192       
   193       Note: just pass in the option _value_, that is only the part that goes
   194       after the '=' sign.
   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