config/cc/gcc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Sep 25 16:06:19 2008 +0000 (2008-09-25)
changeset 874 4c2030673163
parent 850 ef8549b58b6f
child 881 d8a7445e18d2
permissions -rw-r--r--
Add latest gcc-4.3.2 as EXPERIMENTAL, using the 4.3.1 re-based patchset.

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