config/cc/gcc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Sep 11 09:01:48 2008 +0000 (2008-09-11)
changeset 848 5b3785e0d41d
parent 765 f89ccf3ea5d6
child 850 ef8549b58b6f
permissions -rw-r--r--
Fix auto-completion for updaetools.

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