config/cc/gcc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 10 22:10:40 2008 +0000 (2008-06-10)
changeset 552 4edbcdb17e3d
parent 550 1cbe3cfa5e3d
child 602 1968d150a34f
permissions -rw-r--r--
Vampirise patches for gcc-4.3.{0,1} from gentoo. Absolutely untested...

/trunk/patches/gcc/4.3.0/275-gcc-x86-emit-cld.patch | 156 156 0 0 +
/trunk/patches/gcc/4.3.0/450-gcc4-noteGNUstack.patch | 198 198 0 0 +
/trunk/patches/gcc/4.3.0/550-gcc43-pr25343.patch | 21 21 0 0 +
/trunk/patches/gcc/4.3.0/375-gcc43-pr35440.patch | 59 59 0 0 +
/trunk/patches/gcc/4.3.0/125-gcc-trampolinewarn.patch | 35 35 0 0 +
/trunk/patches/gcc/4.3.0/475-gcc43-pr35705.patch | 21 21 0 0 +
/trunk/patches/gcc/4.3.0/700-204-uclibc-locale-wchar_fix.patch | 51 51 0 0 +
/trunk/patches/gcc/4.3.0/775-303-c99-complex-ugly-hack.patch | 14 14 0 0 +
/trunk/patches/gcc/4.3.0/575-sh-pr24836.patch | 28 28 0 0 +
/trunk/patches/gcc/4.3.0/675-203-uclibc-locale-no__x.patch | 224 224 0 0 +
/trunk/patches/gcc/4.3.0/400-gcc43-pr24170.patch | 61 61 0 0 +
/trunk/patches/gcc/4.3.0/100-gcc-4.1-alpha-mieee-default.patch | 34 34 0 0 +
/trunk/patches/gcc/4.3.0/825-305-libmudflap-susv3-legacy.patch | 49 49 0 0 +
/trunk/patches/gcc/4.3.0/175-gcc-4.1-cross-compile.patch | 44 44 0 0 +
/trunk/patches/gcc/4.3.0/850-306-libstdc++-namespace.patch | 38 38 0 0 +
/trunk/patches/gcc/4.3.0/200-gcc-netbsd-symbolic.patch | 14 14 0 0 +
/trunk/patches/gcc/4.3.0/750-301-missing-execinfo_h.patch | 13 13 0 0 +
/trunk/patches/gcc/4.3.0/225-gcc-sparc64-bsd.patch | 30 30 0 0 +
/trunk/patches/gcc/4.3.0/350-300-libstdc++-pic.patch | 56 56 0 0 +
/trunk/patches/gcc/4.3.0/500-gcc43-pr34571.patch | 35 35 0 0 +
/trunk/patches/gcc/4.3.0/300-gcc-3.4-libiberty-pic.patch | 12 12 0 0 +
/trunk/patches/gcc/4.3.0/625-103-uclibc-conf-noupstream.patch | 13 13 0 0 +
/trunk/patches/gcc/4.3.0/425-gcc4-ia64-noteGNUstack.patch | 96 96 0 0 +
/trunk/patches/gcc/4.3.0/325-gcc4-superh-default-multilib.patch | 25 25 0 0 +
/trunk/patches/gcc/4.3.0/725-205-uclibc-locale-update.patch | 355 355 0 0 ++
/trunk/patches/gcc/4.3.0/800-304-index_macro.patch | 27 27 0 0 +
/trunk/patches/gcc/4.3.0/600-gcc-ca-translation-typo.patch | 19 19 0 0 +
/trunk/patches/gcc/4.3.0/650-200-uclibc-locale.patch | 2794 2794 0 0 +++++++++++++++
/trunk/patches/gcc/4.3.0/525-gcc43-pr35982.patch | 23 23 0 0 +
/trunk/patches/gcc/4.3.0/150-gcc43-java-nomulti.patch | 47 47 0 0 +
/trunk/patches/gcc/4.3.0/250-904-flatten-switch-stmt-00.patch | 76 76 0 0 +
/trunk/patches/gcc/4.3.1/100-gcc-4.1-alpha-mieee-default.patch | 34 34 0 0 +
/trunk/patches/gcc/4.3.1/500-103-uclibc-conf-noupstream.patch | 13 13 0 0 +
/trunk/patches/gcc/4.3.1/175-gcc-4.1-cross-compile.patch | 44 44 0 0 +
/trunk/patches/gcc/4.3.1/400-gcc4-noteGNUstack.patch | 198 198 0 0 +
/trunk/patches/gcc/4.3.1/600-205-uclibc-locale-update.patch | 355 355 0 0 ++
/trunk/patches/gcc/4.3.1/725-306-libstdc++-namespace.patch | 38 38 0 0 +
/trunk/patches/gcc/4.3.1/350-gcc43-pr24170.patch | 61 61 0 0 +
/trunk/patches/gcc/4.3.1/300-gcc4-superh-default-multilib.patch | 25 25 0 0 +
/trunk/patches/gcc/4.3.1/575-204-uclibc-locale-wchar_fix.patch | 51 51 0 0 +
/trunk/patches/gcc/4.3.1/200-gcc-netbsd-symbolic.patch | 14 14 0 0 +
/trunk/patches/gcc/4.3.1/225-gcc-sparc64-bsd.patch | 30 30 0 0 +
/trunk/patches/gcc/4.3.1/450-gcc43-pr25343.patch | 21 21 0 0 +
/trunk/patches/gcc/4.3.1/625-301-missing-execinfo_h.patch | 13 13 0 0 +
/trunk/patches/gcc/4.3.1/325-300-libstdc++-pic.patch | 56 56 0 0 +
/trunk/patches/gcc/4.3.1/425-gcc43-pr34571.patch | 35 35 0 0 +
/trunk/patches/gcc/4.3.1/375-gcc4-ia64-noteGNUstack.patch | 96 96 0 0 +
/trunk/patches/gcc/4.3.1/125-gcc-trampolinewarn.patch | 35 35 0 0 +
/trunk/patches/gcc/4.3.1/275-gcc-3.4-libiberty-pic.patch | 12 12 0 0 +
/trunk/patches/gcc/4.3.1/650-303-c99-complex-ugly-hack.patch | 14 14 0 0 +
/trunk/patches/gcc/4.3.1/525-200-uclibc-locale.patch | 2794 2794 0 0 +++++++++++++++
/trunk/patches/gcc/4.3.1/550-203-uclibc-locale-no__x.patch | 224 224 0 0 +
/trunk/patches/gcc/4.3.1/150-gcc43-java-nomulti.patch | 47 47 0 0 +
/trunk/patches/gcc/4.3.1/700-305-libmudflap-susv3-legacy.patch | 49 49 0 0 +
/trunk/patches/gcc/4.3.1/675-304-index_macro.patch | 27 27 0 0 +
/trunk/patches/gcc/4.3.1/250-904-flatten-switch-stmt-00.patch | 76 76 0 0 +
/trunk/patches/gcc/4.3.1/475-sh-pr24836.patch | 28 28 0 0 +
57 files changed, 9058 insertions(+)
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@550
    81
config CC_V_4_3_0
yann@550
    82
    bool
yann@550
    83
    prompt "4.3.0 (EXPERIMENTAL)"
yann@550
    84
    depends on EXPERIMENTAL
yann@550
    85
    select CC_GCC_4_3_or_later
yann@550
    86
yann@550
    87
config CC_V_4_3_1
yann@550
    88
    bool
yann@550
    89
    prompt "4.3.1 (EXPERIMENTAL)"
yann@550
    90
    depends on EXPERIMENTAL
yann@550
    91
    select CC_GCC_4_3_or_later
yann@550
    92
yann@448
    93
# CT_INSERT_VERSION_ABOVE
yann@448
    94
# Don't remove above line!
yann@448
    95
endchoice
yann@448
    96
yann@448
    97
config CC_VERSION
yann@448
    98
    string
yann@448
    99
    default "2.95.3" if CC_V_2_95_3
yann@448
   100
    default "3.2.3" if CC_V_3_2_3
yann@448
   101
    default "3.3.6" if CC_V_3_3_6
yann@448
   102
    default "3.4.6" if CC_V_3_4_6
yann@448
   103
    default "4.0.0" if CC_V_4_0_0
yann@448
   104
    default "4.0.1" if CC_V_4_0_1
yann@448
   105
    default "4.0.2" if CC_V_4_0_2
yann@448
   106
    default "4.0.3" if CC_V_4_0_3
yann@448
   107
    default "4.0.4" if CC_V_4_0_4
yann@448
   108
    default "4.1.0" if CC_V_4_1_0
yann@448
   109
    default "4.1.1" if CC_V_4_1_1
yann@448
   110
    default "4.1.2" if CC_V_4_1_2
yann@448
   111
    default "4.2.0" if CC_V_4_2_0
yann@448
   112
    default "4.2.1" if CC_V_4_2_1
yann@448
   113
    default "4.2.2" if CC_V_4_2_2
yann@448
   114
    default "4.2.3" if CC_V_4_2_3
yann@550
   115
    default "4.3.0" if CC_V_4_3_0
yann@550
   116
    default "4.3.1" if CC_V_4_3_1
yann@448
   117
# CT_INSERT_VERSION_STRING_ABOVE
yann@448
   118
# Don't remove above line!
yann@448
   119
yann@545
   120
config CC_GCC_4_3_or_later
yann@545
   121
    bool
yann@545
   122
    default n
yann@549
   123
    select CC_GCC_GMP_MPFR
yann@545
   124
yann@448
   125
config CC_CXA_ATEXIT
yann@448
   126
    bool
yann@448
   127
    prompt "__cxa_atexit"
yann@448
   128
    default "y"
yann@448
   129
    help
yann@448
   130
      If you get the missing symbol "__cxa_atexit" when building C++ programs,
yann@448
   131
      you might want to try disabling this option.
yann@448
   132
yann@448
   133
config CC_CORE_EXTRA_CONFIG
yann@448
   134
    string
yann@448
   135
    prompt "Core gcc extra config"
yann@448
   136
    default ""
yann@448
   137
    help
yann@448
   138
      Extra flags to pass onto ./configure when configuring the core gcc.
yann@448
   139
      
yann@448
   140
      The core gcc is a stripped down, C-only compiler needed to build
yann@448
   141
      the C library. Kinda bootstrap gcc, if you wish.
yann@448
   142
yann@448
   143
config CC_EXTRA_CONFIG
yann@448
   144
    string
yann@448
   145
    prompt "gcc extra config"
yann@448
   146
    default ""
yann@448
   147
    help
yann@448
   148
      Extra flags to pass onto ./configure when configuring gcc.
yann@466
   149
yann@545
   150
config CC_PKGVERSION
yann@545
   151
    string
yann@545
   152
    prompt "gcc ID string"
yann@545
   153
    depends on CC_GCC_4_3_or_later
yann@545
   154
    default "crosstool-NG-${CT_VERSION}"
yann@545
   155
    help
yann@545
   156
      Specify a string that identifies your package. You may wish to include
yann@545
   157
      a build number or build date. This version string will be included in
yann@545
   158
      the output of gcc --version.
yann@545
   159
yann@545
   160
      This is passed to the configure flag --with-pkgversion.
yann@545
   161
yann@545
   162
config CC_BUGURL
yann@545
   163
    string
yann@545
   164
    prompt "gcc bug URL"
yann@545
   165
    depends on CC_GCC_4_3_or_later
yann@545
   166
    default ""
yann@545
   167
    help
yann@545
   168
      Specify the URL that users should visit if they wish to report a bug.
yann@545
   169
yann@466
   170
menuconfig CC_GCC_GMP_MPFR
yann@466
   171
    bool
yann@466
   172
    prompt "GMP and MPFR"
yann@466
   173
    help
yann@466
   174
      Recent gcc needs both GMP and MPFR to build some frontends.
yann@466
   175
yann@466
   176
      Say 'Y' here if you want to build those two libraries specifically
yann@466
   177
      for crosstool-NG.
yann@466
   178
yann@466
   179
      Saying 'Y' is highly recommended if building gcc-4.3 or higher.
yann@466
   180
yann@466
   181
if CC_GCC_GMP_MPFR
yann@466
   182
source config/cc/gmp.in
yann@466
   183
source config/cc/mpfr.in
yann@466
   184
endif