config/cc/gcc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jun 09 16:35:21 2008 +0000 (2008-06-09)
changeset 546 0bf5637e0afd
parent 466 7f9bbf94b0bb
child 549 3c4c45be945a
permissions -rw-r--r--
Fix addToolVersion.sh after breakage with support for gcc-4.3 (stupid anyway...).

/trunk/tools/addToolVersion.sh | 18 10 8 0 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
     1 # Compiler options
     2 
     3 choice
     4     bool
     5     prompt "gcc version"
     6 
     7 config CC_V_2_95_3
     8     bool
     9     prompt "2.95.3 (OBSOLETE)"
    10     depends on OBSOLETE
    11 
    12 config CC_V_3_2_3
    13     bool
    14     prompt "3.2.3 (OBSOLETE)"
    15     depends on OBSOLETE
    16 
    17 config CC_V_3_3_6
    18     bool
    19     prompt "3.3.6 (OBSOLETE)"
    20     depends on OBSOLETE
    21 
    22 config CC_V_3_4_6
    23     bool
    24     prompt "3.4.6 (OBSOLETE)"
    25     depends on OBSOLETE
    26 
    27 config CC_V_4_0_0
    28     bool
    29     prompt "4.0.0 (OBSOLETE)"
    30     depends on OBSOLETE
    31 
    32 config CC_V_4_0_1
    33     bool
    34     prompt "4.0.1 (OBSOLETE)"
    35     depends on OBSOLETE
    36 
    37 config CC_V_4_0_2
    38     bool
    39     prompt "4.0.2 (OBSOLETE)"
    40     depends on OBSOLETE
    41 
    42 config CC_V_4_0_3
    43     bool
    44     prompt "4.0.3 (OBSOLETE)"
    45     depends on OBSOLETE
    46 
    47 config CC_V_4_0_4
    48     bool
    49     prompt "4.0.4"
    50 
    51 config CC_V_4_1_0
    52     bool
    53     prompt "4.1.0 (OBSOLETE)"
    54     depends on OBSOLETE
    55 
    56 config CC_V_4_1_1
    57     bool
    58     prompt "4.1.1 (OBSOLETE)"
    59     depends on OBSOLETE
    60 
    61 config CC_V_4_1_2
    62     bool
    63     prompt "4.1.2"
    64 
    65 config CC_V_4_2_0
    66     bool
    67     prompt "4.2.0"
    68 
    69 config CC_V_4_2_1
    70     bool
    71     prompt "4.2.1"
    72 
    73 config CC_V_4_2_2
    74     bool
    75     prompt "4.2.2"
    76 
    77 config CC_V_4_2_3
    78     bool
    79     prompt "4.2.3 (EXPERIMENTAL)"
    80     depends on EXPERIMENTAL
    81 
    82 # CT_INSERT_VERSION_ABOVE
    83 # Don't remove above line!
    84 endchoice
    85 
    86 config CC_VERSION
    87     string
    88     default "2.95.3" if CC_V_2_95_3
    89     default "3.2.3" if CC_V_3_2_3
    90     default "3.3.6" if CC_V_3_3_6
    91     default "3.4.6" if CC_V_3_4_6
    92     default "4.0.0" if CC_V_4_0_0
    93     default "4.0.1" if CC_V_4_0_1
    94     default "4.0.2" if CC_V_4_0_2
    95     default "4.0.3" if CC_V_4_0_3
    96     default "4.0.4" if CC_V_4_0_4
    97     default "4.1.0" if CC_V_4_1_0
    98     default "4.1.1" if CC_V_4_1_1
    99     default "4.1.2" if CC_V_4_1_2
   100     default "4.2.0" if CC_V_4_2_0
   101     default "4.2.1" if CC_V_4_2_1
   102     default "4.2.2" if CC_V_4_2_2
   103     default "4.2.3" if CC_V_4_2_3
   104 # CT_INSERT_VERSION_STRING_ABOVE
   105 # Don't remove above line!
   106 
   107 config CC_GCC_4_3_or_later
   108     bool
   109     default n
   110 
   111 config CC_CXA_ATEXIT
   112     bool
   113     prompt "__cxa_atexit"
   114     default "y"
   115     help
   116       If you get the missing symbol "__cxa_atexit" when building C++ programs,
   117       you might want to try disabling this option.
   118 
   119 config CC_CORE_EXTRA_CONFIG
   120     string
   121     prompt "Core gcc extra config"
   122     default ""
   123     help
   124       Extra flags to pass onto ./configure when configuring the core gcc.
   125       
   126       The core gcc is a stripped down, C-only compiler needed to build
   127       the C library. Kinda bootstrap gcc, if you wish.
   128 
   129 config CC_EXTRA_CONFIG
   130     string
   131     prompt "gcc extra config"
   132     default ""
   133     help
   134       Extra flags to pass onto ./configure when configuring gcc.
   135 
   136 config CC_PKGVERSION
   137     string
   138     prompt "gcc ID string"
   139     depends on CC_GCC_4_3_or_later
   140     default "crosstool-NG-${CT_VERSION}"
   141     help
   142       Specify a string that identifies your package. You may wish to include
   143       a build number or build date. This version string will be included in
   144       the output of gcc --version.
   145 
   146       This is passed to the configure flag --with-pkgversion.
   147 
   148 config CC_BUGURL
   149     string
   150     prompt "gcc bug URL"
   151     depends on CC_GCC_4_3_or_later
   152     default ""
   153     help
   154       Specify the URL that users should visit if they wish to report a bug.
   155 
   156 menuconfig CC_GCC_GMP_MPFR
   157     bool
   158     prompt "GMP and MPFR"
   159     help
   160       Recent gcc needs both GMP and MPFR to build some frontends.
   161 
   162       Say 'Y' here if you want to build those two libraries specifically
   163       for crosstool-NG.
   164 
   165       Saying 'Y' is highly recommended if building gcc-4.3 or higher.
   166 
   167 if CC_GCC_GMP_MPFR
   168 source config/cc/gmp.in
   169 source config/cc/mpfr.in
   170 endif