2007-02-24 11:00:05 +00:00
|
|
|
# Compiler options
|
|
|
|
|
|
|
|
choice
|
|
|
|
bool
|
2007-08-15 10:14:43 +00:00
|
|
|
prompt "gcc version"
|
2007-02-24 11:00:05 +00:00
|
|
|
|
|
|
|
config CC_V_2_95_3
|
|
|
|
bool
|
2007-08-14 20:11:44 +00:00
|
|
|
prompt "2.95.3 (OBSOLETE)"
|
2007-05-06 13:42:10 +00:00
|
|
|
depends on OBSOLETE
|
2007-02-24 11:00:05 +00:00
|
|
|
|
|
|
|
config CC_V_3_2_3
|
|
|
|
bool
|
2007-08-14 20:11:44 +00:00
|
|
|
prompt "3.2.3 (OBSOLETE)"
|
2007-05-06 13:42:10 +00:00
|
|
|
depends on OBSOLETE
|
2007-02-24 11:00:05 +00:00
|
|
|
|
|
|
|
config CC_V_3_3_6
|
|
|
|
bool
|
2007-08-14 20:11:44 +00:00
|
|
|
prompt "3.3.6 (OBSOLETE)"
|
2007-05-06 13:42:10 +00:00
|
|
|
depends on OBSOLETE
|
|
|
|
|
|
|
|
config CC_V_3_4_6
|
|
|
|
bool
|
2007-08-14 20:11:44 +00:00
|
|
|
prompt "3.4.6 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2007-02-24 11:00:05 +00:00
|
|
|
|
|
|
|
config CC_V_4_0_0
|
|
|
|
bool
|
2008-02-14 22:43:49 +00:00
|
|
|
prompt "4.0.0 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2007-02-24 11:00:05 +00:00
|
|
|
|
|
|
|
config CC_V_4_0_1
|
|
|
|
bool
|
2008-02-14 22:43:49 +00:00
|
|
|
prompt "4.0.1 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2007-02-24 11:00:05 +00:00
|
|
|
|
|
|
|
config CC_V_4_0_2
|
|
|
|
bool
|
2008-02-14 22:43:49 +00:00
|
|
|
prompt "4.0.2 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2007-02-24 11:00:05 +00:00
|
|
|
|
|
|
|
config CC_V_4_0_3
|
|
|
|
bool
|
2008-02-14 22:43:49 +00:00
|
|
|
prompt "4.0.3 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2007-02-24 11:00:05 +00:00
|
|
|
|
|
|
|
config CC_V_4_0_4
|
|
|
|
bool
|
|
|
|
prompt "4.0.4"
|
|
|
|
|
|
|
|
config CC_V_4_1_0
|
|
|
|
bool
|
2008-02-14 22:43:49 +00:00
|
|
|
prompt "4.1.0 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2007-02-24 11:00:05 +00:00
|
|
|
|
|
|
|
config CC_V_4_1_1
|
|
|
|
bool
|
2008-02-14 22:43:49 +00:00
|
|
|
prompt "4.1.1 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2007-03-04 22:56:04 +00:00
|
|
|
config CC_V_4_1_2
|
|
|
|
bool
|
|
|
|
prompt "4.1.2"
|
|
|
|
|
2007-05-20 09:27:05 +00:00
|
|
|
config CC_V_4_2_0
|
|
|
|
bool
|
2007-07-15 16:32:14 +00:00
|
|
|
prompt "4.2.0"
|
2007-05-20 09:27:05 +00:00
|
|
|
|
2007-07-29 19:15:27 +00:00
|
|
|
config CC_V_4_2_1
|
|
|
|
bool
|
|
|
|
prompt "4.2.1"
|
|
|
|
|
2007-10-30 19:18:11 +00:00
|
|
|
config CC_V_4_2_2
|
|
|
|
bool
|
|
|
|
prompt "4.2.2"
|
2008-02-14 22:43:49 +00:00
|
|
|
|
|
|
|
config CC_V_4_2_3
|
|
|
|
bool
|
|
|
|
prompt "4.2.3 (EXPERIMENTAL)"
|
2007-10-30 19:18:11 +00:00
|
|
|
depends on EXPERIMENTAL
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
# CT_INSERT_VERSION_ABOVE
|
|
|
|
# Don't remove above line!
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config CC_VERSION
|
|
|
|
string
|
|
|
|
default "2.95.3" if CC_V_2_95_3
|
|
|
|
default "3.2.3" if CC_V_3_2_3
|
|
|
|
default "3.3.6" if CC_V_3_3_6
|
2007-05-06 13:42:10 +00:00
|
|
|
default "3.4.6" if CC_V_3_4_6
|
2007-02-24 11:00:05 +00:00
|
|
|
default "4.0.0" if CC_V_4_0_0
|
|
|
|
default "4.0.1" if CC_V_4_0_1
|
|
|
|
default "4.0.2" if CC_V_4_0_2
|
|
|
|
default "4.0.3" if CC_V_4_0_3
|
|
|
|
default "4.0.4" if CC_V_4_0_4
|
|
|
|
default "4.1.0" if CC_V_4_1_0
|
|
|
|
default "4.1.1" if CC_V_4_1_1
|
2007-03-04 22:56:04 +00:00
|
|
|
default "4.1.2" if CC_V_4_1_2
|
2007-05-20 09:27:05 +00:00
|
|
|
default "4.2.0" if CC_V_4_2_0
|
2007-07-29 19:15:27 +00:00
|
|
|
default "4.2.1" if CC_V_4_2_1
|
2007-10-30 19:18:11 +00:00
|
|
|
default "4.2.2" if CC_V_4_2_2
|
2008-02-14 22:43:49 +00:00
|
|
|
default "4.2.3" if CC_V_4_2_3
|
2007-02-24 11:00:05 +00:00
|
|
|
# CT_INSERT_VERSION_STRING_ABOVE
|
|
|
|
# Don't remove above line!
|
|
|
|
|
2008-06-09 16:14:23 +00:00
|
|
|
config CC_GCC_4_3_or_later
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2007-03-21 21:03:22 +00:00
|
|
|
config CC_CXA_ATEXIT
|
|
|
|
bool
|
|
|
|
prompt "__cxa_atexit"
|
|
|
|
default "y"
|
|
|
|
help
|
2007-08-30 19:22:15 +00:00
|
|
|
If you get the missing symbol "__cxa_atexit" when building C++ programs,
|
2007-03-21 21:03:22 +00:00
|
|
|
you might want to try disabling this option.
|
|
|
|
|
2007-08-15 10:14:43 +00:00
|
|
|
config CC_CORE_EXTRA_CONFIG
|
|
|
|
string
|
|
|
|
prompt "Core gcc extra config"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Extra flags to pass onto ./configure when configuring the core gcc.
|
|
|
|
|
|
|
|
The core gcc is a stripped down, C-only compiler needed to build
|
|
|
|
the C library. Kinda bootstrap gcc, if you wish.
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
config CC_EXTRA_CONFIG
|
|
|
|
string
|
2007-08-15 10:14:43 +00:00
|
|
|
prompt "gcc extra config"
|
2007-02-24 11:00:05 +00:00
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Extra flags to pass onto ./configure when configuring gcc.
|
2008-04-30 10:43:41 +00:00
|
|
|
|
2008-06-09 16:14:23 +00:00
|
|
|
config CC_PKGVERSION
|
|
|
|
string
|
|
|
|
prompt "gcc ID string"
|
|
|
|
depends on CC_GCC_4_3_or_later
|
|
|
|
default "crosstool-NG-${CT_VERSION}"
|
|
|
|
help
|
|
|
|
Specify a string that identifies your package. You may wish to include
|
|
|
|
a build number or build date. This version string will be included in
|
|
|
|
the output of gcc --version.
|
|
|
|
|
|
|
|
This is passed to the configure flag --with-pkgversion.
|
|
|
|
|
|
|
|
config CC_BUGURL
|
|
|
|
string
|
|
|
|
prompt "gcc bug URL"
|
|
|
|
depends on CC_GCC_4_3_or_later
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Specify the URL that users should visit if they wish to report a bug.
|
|
|
|
|
2008-04-30 10:43:41 +00:00
|
|
|
menuconfig CC_GCC_GMP_MPFR
|
|
|
|
bool
|
|
|
|
prompt "GMP and MPFR"
|
|
|
|
help
|
|
|
|
Recent gcc needs both GMP and MPFR to build some frontends.
|
|
|
|
|
|
|
|
Say 'Y' here if you want to build those two libraries specifically
|
|
|
|
for crosstool-NG.
|
|
|
|
|
|
|
|
Saying 'Y' is highly recommended if building gcc-4.3 or higher.
|
|
|
|
|
|
|
|
if CC_GCC_GMP_MPFR
|
|
|
|
source config/cc/gmp.in
|
|
|
|
source config/cc/mpfr.in
|
|
|
|
endif
|