config/cc/gcc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 28 10:33:30 2008 +0000 (2008-09-28)
changeset 878 aa3be56634c1
parent 850 ef8549b58b6f
child 881 d8a7445e18d2
permissions -rw-r--r--
Simplify conf and mconf generation. We don't care for the _shipped stuff.

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