config/cc/gcc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 12 10:53:11 2008 +0000 (2008-08-12)
changeset 793 35b0ddf2c462
parent 687 b2b6b1d46aa1
child 794 74bb87c3fd79
permissions -rw-r--r--
Typo.

/trunk/config/libc.in | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
     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"
    80 
    81 config CC_V_4_2_4
    82     bool
    83     prompt "4.2.4"
    84 
    85 config CC_V_4_3_0
    86     bool
    87     prompt "4.3.0 (EXPERIMENTAL)"
    88     depends on EXPERIMENTAL
    89     select CC_GCC_4_3_or_later
    90 
    91 config CC_V_4_3_1
    92     bool
    93     prompt "4.3.1 (EXPERIMENTAL)"
    94     depends on EXPERIMENTAL
    95     select CC_GCC_4_3_or_later
    96 
    97 # CT_INSERT_VERSION_ABOVE
    98 # Don't remove above line!
    99 endchoice
   100 
   101 config CC_VERSION
   102     string
   103     default "2.95.3" if CC_V_2_95_3
   104     default "3.2.3" if CC_V_3_2_3
   105     default "3.3.6" if CC_V_3_3_6
   106     default "3.4.6" if CC_V_3_4_6
   107     default "4.0.0" if CC_V_4_0_0
   108     default "4.0.1" if CC_V_4_0_1
   109     default "4.0.2" if CC_V_4_0_2
   110     default "4.0.3" if CC_V_4_0_3
   111     default "4.0.4" if CC_V_4_0_4
   112     default "4.1.0" if CC_V_4_1_0
   113     default "4.1.1" if CC_V_4_1_1
   114     default "4.1.2" if CC_V_4_1_2
   115     default "4.2.0" if CC_V_4_2_0
   116     default "4.2.1" if CC_V_4_2_1
   117     default "4.2.2" if CC_V_4_2_2
   118     default "4.2.3" if CC_V_4_2_3
   119     default "4.2.4" if CC_V_4_2_4
   120     default "4.3.0" if CC_V_4_3_0
   121     default "4.3.1" if CC_V_4_3_1
   122 # CT_INSERT_VERSION_STRING_ABOVE
   123 # Don't remove above line!
   124 
   125 config CC_GCC_4_3_or_later
   126     bool
   127     default n
   128     select GMP_MPFR
   129 
   130 config CC_CXA_ATEXIT
   131     bool
   132     prompt "Use __cxa_atexit"
   133     default y
   134     help
   135       If you get the missing symbol "__cxa_atexit" when building C++ programs,
   136       you might want to try disabling this option.
   137 
   138 choice
   139     bool
   140     prompt "Use sjlj for exceptions"
   141     default CC_SJLJ_EXCEPTIONS_CONFIGURE
   142 
   143 # This config option is used nowhere in the code on purpose.
   144 # It only serves as a choice entry to force neither using nor not using sjlj
   145 config CC_SJLJ_EXCEPTIONS_CONFIGURE
   146     bool
   147     prompt "Let configure decide"
   148     help
   149       Let configure decide if setjmp/longjmp should be used to handle
   150       exceptions.
   151       
   152       Choose that if you trust configure to detect the correct settings.
   153       This is the default choice.
   154 
   155 config CC_SJLJ_EXCEPTIONS_USE
   156     bool
   157     prompt "Force using sjlj"
   158     help
   159       Do use setjmp/longjmp for exceptions.
   160       This is gcc's --enable-sjlj-exceptions configure switch.
   161       
   162       Choose that if you want to use setjmp/longjmp to handle exceptions.
   163 
   164 config CC_SJLJ_EXCEPTIONS_DONT_USE
   165     bool
   166     prompt "Force not using sjlj"
   167     help
   168       Do not use setjmp/longjmp for exceptions.
   169       This is gcc's --disable-sjlj-exceptions configure switch.
   170       
   171       Choose that if you want to not use setjmp/longjmp to handle exceptions.
   172 
   173 endchoice
   174 
   175 config CC_CORE_EXTRA_CONFIG
   176     string
   177     prompt "Core gcc extra config"
   178     default ""
   179     help
   180       Extra flags to pass onto ./configure when configuring the core gcc.
   181       
   182       The core gcc is a stripped down, C-only compiler needed to build
   183       the C library. Kinda bootstrap gcc, if you wish.
   184 
   185 config CC_EXTRA_CONFIG
   186     string
   187     prompt "gcc extra config"
   188     default ""
   189     help
   190       Extra flags to pass onto ./configure when configuring gcc.
   191 
   192 config CC_PKGVERSION
   193     string
   194     prompt "gcc ID string"
   195     depends on CC_GCC_4_3_or_later
   196     default "crosstool-NG-${CT_VERSION}"
   197     help
   198       Specify a string that identifies your package. You may wish to include
   199       a build number or build date. This version string will be included in
   200       the output of gcc --version.
   201 
   202       This is passed to the configure flag --with-pkgversion.
   203 
   204 config CC_BUGURL
   205     string
   206     prompt "gcc bug URL"
   207     depends on CC_GCC_4_3_or_later
   208     default ""
   209     help
   210       Specify the URL that users should visit if they wish to report a bug.