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.
yann@448
     1
# Compiler options
yann@448
     2
yann@923
     3
config CC_gcc
yann@923
     4
    select CC_SUPPORT_CXX
yann@923
     5
    select CC_SUPPORT_FORTRAN
yann@923
     6
    select CC_SUPPORT_JAVA
yann@923
     7
    select CC_SUPPORT_ADA
yann@923
     8
    select CC_SUPPORT_OBJC
yann@923
     9
    select CC_SUPPORT_OBJCXX
yann@923
    10
    help
yann@923
    11
      gcc is the full-blown GNU compiler. This is what most people will choose.
yann@923
    12
      
yann@923
    13
      gcc supports many languages, a powerful code parser, optimised binary
yann@923
    14
      output, and lots of other features.
yann@923
    15
yann@448
    16
choice
yann@448
    17
    bool
yann@448
    18
    prompt "gcc version"
yann@1535
    19
# Don't remove next line
yann@1535
    20
# CT_INSERT_VERSION_BELOW
yann@448
    21
yann@1752
    22
config CC_V_4_4_3
yann@1752
    23
    bool
yann@1778
    24
    prompt "4.4.3"
yann@1752
    25
    select CC_GCC_4_3_or_later
yann@1752
    26
    select CC_GCC_4_4_or_later
yann@1752
    27
yann@1611
    28
config CC_V_4_4_2
yann@1611
    29
    bool
yann@1778
    30
    prompt "4.4.2"
yann@1611
    31
    select CC_GCC_4_3_or_later
yann@1611
    32
    select CC_GCC_4_4_or_later
yann@1611
    33
yann@1534
    34
config CC_V_4_4_1
yann@448
    35
    bool
yann@1778
    36
    prompt "4.4.1"
yann@550
    37
    select CC_GCC_4_3_or_later
yann@1534
    38
    select CC_GCC_4_4_or_later
yann@1462
    39
yann@1268
    40
config CC_V_4_4_0
yann@1268
    41
    bool
yann@1778
    42
    prompt "4.4.0"
yann@1268
    43
    select CC_GCC_4_3_or_later
yann@1320
    44
    select CC_GCC_4_4_or_later
yann@1268
    45
yann@1534
    46
config CC_V_4_3_4
yann@1442
    47
    bool
yann@1534
    48
    prompt "4.3.4"
yann@1534
    49
    select CC_GCC_4_3_or_later
yann@1534
    50
yann@1534
    51
config CC_V_4_3_3
yann@1534
    52
    bool
yann@1534
    53
    prompt "4.3.3"
yann@1534
    54
    select CC_GCC_4_3_or_later
yann@1534
    55
yann@1534
    56
config CC_V_4_3_2
yann@1534
    57
    bool
yann@1534
    58
    prompt "4.3.2"
yann@1534
    59
    select CC_GCC_4_3_or_later
yann@1534
    60
yann@1534
    61
config CC_V_4_3_1
yann@1534
    62
    bool
yann@1534
    63
    prompt "4.3.1"
yann@1534
    64
    select CC_GCC_4_3_or_later
yann@1534
    65
yann@1534
    66
config CC_V_4_2_4
yann@1534
    67
    bool
yann@1534
    68
    prompt "4.2.4"
yann@1534
    69
yann@1534
    70
config CC_V_4_2_3
yann@1534
    71
    bool
yann@1615
    72
    prompt "4.2.3 (OBSOLETE)"
yann@1615
    73
    depends on OBSOLETE
yann@1534
    74
yann@1534
    75
config CC_V_4_2_2
yann@1534
    76
    bool
yann@1534
    77
    prompt "4.2.2"
yann@1534
    78
yann@1534
    79
config CC_V_4_2_1
yann@1534
    80
    bool
yann@1615
    81
    prompt "4.2.1 (OBSOLETE)"
yann@1615
    82
    depends on OBSOLETE
yann@1534
    83
yann@1534
    84
config CC_V_4_2_0
yann@1534
    85
    bool
yann@1615
    86
    prompt "4.2.0 (OBSOLETE)"
yann@1615
    87
    depends on OBSOLETE
yann@1534
    88
yann@1534
    89
config CC_V_4_1_2
yann@1534
    90
    bool
yann@1615
    91
    prompt "4.1.2 (OBSOLETE)"
yann@1615
    92
    depends on OBSOLETE
yann@1534
    93
yann@1534
    94
config CC_V_4_0_4
yann@1534
    95
    bool
yann@1615
    96
    prompt "4.0.4 (OBSOLETE)"
yann@1615
    97
    depends on OBSOLETE
yann@1534
    98
yann@1534
    99
config CC_V_3_4_6
yann@1534
   100
    bool
yann@1534
   101
    prompt "3.4.6 (OBSOLETE)"
yann@1534
   102
    depends on OBSOLETE
yann@1534
   103
yann@448
   104
endchoice
yann@448
   105
yann@1268
   106
config CC_GCC_4_3_or_later
yann@1268
   107
    bool
yann@1268
   108
    default n
yann@1268
   109
    select GMP_MPFR
yann@1268
   110
yann@1320
   111
config CC_GCC_4_4_or_later
yann@1268
   112
    bool
yann@1268
   113
    default n
yann@1393
   114
    select PPL_CLOOG_MPC
yann@1268
   115
yann@448
   116
config CC_VERSION
yann@448
   117
    string
yann@1535
   118
# Don't remove next line
yann@1535
   119
# CT_INSERT_VERSION_STRING_BELOW
yann@1752
   120
    default "4.4.3" if CC_V_4_4_3
yann@1611
   121
    default "4.4.2" if CC_V_4_4_2
yann@1534
   122
    default "4.4.1" if CC_V_4_4_1
yann@1534
   123
    default "4.4.0" if CC_V_4_4_0
yann@1534
   124
    default "4.3.4" if CC_V_4_3_4
yann@1534
   125
    default "4.3.3" if CC_V_4_3_3
yann@1534
   126
    default "4.3.2" if CC_V_4_3_2
yann@1534
   127
    default "4.3.1" if CC_V_4_3_1
yann@1534
   128
    default "4.3.0" if CC_V_4_3_0
yann@1534
   129
    default "4.2.4" if CC_V_4_2_4
yann@1534
   130
    default "4.2.3" if CC_V_4_2_3
yann@1534
   131
    default "4.2.2" if CC_V_4_2_2
yann@1534
   132
    default "4.2.1" if CC_V_4_2_1
yann@1534
   133
    default "4.2.0" if CC_V_4_2_0
yann@1534
   134
    default "4.1.2" if CC_V_4_1_2
yann@1534
   135
    default "4.0.4" if CC_V_4_0_4
yann@1534
   136
    default "3.4.6" if CC_V_3_4_6
yann@448
   137
yann@448
   138
config CC_CXA_ATEXIT
yann@448
   139
    bool
yann@765
   140
    prompt "Use __cxa_atexit"
yann@765
   141
    default y
yann@850
   142
    depends on ! BARE_METAL
yann@448
   143
    help
yann@448
   144
      If you get the missing symbol "__cxa_atexit" when building C++ programs,
yann@448
   145
      you might want to try disabling this option.
yann@448
   146
yann@765
   147
choice
yann@765
   148
    bool
yann@765
   149
    prompt "Use sjlj for exceptions"
yann@765
   150
    default CC_SJLJ_EXCEPTIONS_CONFIGURE
yann@850
   151
    depends on ! BARE_METAL
yann@765
   152
yann@765
   153
# This config option is used nowhere in the code on purpose.
yann@765
   154
# It only serves as a choice entry to force neither using nor not using sjlj
yann@765
   155
config CC_SJLJ_EXCEPTIONS_CONFIGURE
yann@765
   156
    bool
yann@765
   157
    prompt "Let configure decide"
yann@765
   158
    help
yann@765
   159
      Let configure decide if setjmp/longjmp should be used to handle
yann@765
   160
      exceptions.
yann@765
   161
      
yann@765
   162
      Choose that if you trust configure to detect the correct settings.
yann@765
   163
      This is the default choice.
yann@765
   164
yann@765
   165
config CC_SJLJ_EXCEPTIONS_USE
yann@765
   166
    bool
yann@765
   167
    prompt "Force using sjlj"
yann@765
   168
    help
yann@765
   169
      Do use setjmp/longjmp for exceptions.
yann@765
   170
      This is gcc's --enable-sjlj-exceptions configure switch.
yann@765
   171
      
yann@765
   172
      Choose that if you want to use setjmp/longjmp to handle exceptions.
yann@765
   173
yann@765
   174
config CC_SJLJ_EXCEPTIONS_DONT_USE
yann@765
   175
    bool
yann@765
   176
    prompt "Force not using sjlj"
yann@765
   177
    help
yann@765
   178
      Do not use setjmp/longjmp for exceptions.
yann@765
   179
      This is gcc's --disable-sjlj-exceptions configure switch.
yann@765
   180
      
yann@765
   181
      Choose that if you want to not use setjmp/longjmp to handle exceptions.
yann@765
   182
yann@765
   183
endchoice
yann@765
   184
yann@1484
   185
config CC_ENABLE_CXX_FLAGS
yann@1484
   186
    string
yann@1484
   187
    prompt "Flags to pass to --enable-cxx-flags"
yann@1484
   188
    default ""
yann@1484
   189
    help
yann@1484
   190
      Enter here the value of the gcc's ./configure option --enable-cxx-flags.
yann@1484
   191
      Leave empty if you don't know better.
yann@1484
   192
      
yann@1484
   193
      Note: just pass in the option _value_, that is only the part that goes
yann@1484
   194
      after the '=' sign.
yann@1484
   195
yann@448
   196
config CC_CORE_EXTRA_CONFIG
yann@448
   197
    string
yann@448
   198
    prompt "Core gcc extra config"
yann@448
   199
    default ""
yann@448
   200
    help
yann@448
   201
      Extra flags to pass onto ./configure when configuring the core gcc.
yann@448
   202
      
yann@448
   203
      The core gcc is a stripped down, C-only compiler needed to build
yann@448
   204
      the C library. Kinda bootstrap gcc, if you wish.
yann@448
   205
yann@448
   206
config CC_EXTRA_CONFIG
yann@448
   207
    string
yann@448
   208
    prompt "gcc extra config"
yann@448
   209
    default ""
yann@850
   210
    depends on ! BARE_METAL
yann@448
   211
    help
yann@448
   212
      Extra flags to pass onto ./configure when configuring gcc.
yann@466
   213
yann@545
   214
config CC_PKGVERSION
yann@545
   215
    string
yann@545
   216
    prompt "gcc ID string"
yann@545
   217
    depends on CC_GCC_4_3_or_later
yann@545
   218
    default "crosstool-NG-${CT_VERSION}"
yann@545
   219
    help
yann@545
   220
      Specify a string that identifies your package. You may wish to include
yann@545
   221
      a build number or build date. This version string will be included in
yann@545
   222
      the output of gcc --version.
yann@545
   223
yann@545
   224
      This is passed to the configure flag --with-pkgversion.
yann@545
   225
yann@545
   226
config CC_BUGURL
yann@545
   227
    string
yann@545
   228
    prompt "gcc bug URL"
yann@545
   229
    depends on CC_GCC_4_3_or_later
yann@545
   230
    default ""
yann@545
   231
    help
yann@545
   232
      Specify the URL that users should visit if they wish to report a bug.
yann@1129
   233
yann@1129
   234
config CC_LANG_JAVA_USE_ECJ
yann@1129
   235
    bool
yann@1129
   236
    default y
yann@1129
   237
    depends on CC_LANG_JAVA
yann@1129
   238
    depends on CC_GCC_4_3_or_later