2007-02-24 11:00:05 +00:00
|
|
|
# Compiler options
|
|
|
|
|
2008-10-13 16:58:52 +00:00
|
|
|
config CC_gcc
|
|
|
|
select CC_SUPPORT_CXX
|
|
|
|
select CC_SUPPORT_FORTRAN
|
|
|
|
select CC_SUPPORT_JAVA
|
|
|
|
select CC_SUPPORT_ADA
|
|
|
|
select CC_SUPPORT_OBJC
|
|
|
|
select CC_SUPPORT_OBJCXX
|
|
|
|
help
|
|
|
|
gcc is the full-blown GNU compiler. This is what most people will choose.
|
|
|
|
|
|
|
|
gcc supports many languages, a powerful code parser, optimised binary
|
|
|
|
output, and lots of other features.
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
choice
|
|
|
|
bool
|
2007-08-15 10:14:43 +00:00
|
|
|
prompt "gcc version"
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_BELOW
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2010-08-01 01:56:43 +00:00
|
|
|
config CC_V_4_5_1
|
|
|
|
bool
|
|
|
|
prompt "4.5.1 (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select CC_GCC_4_5_or_later
|
|
|
|
|
2010-04-15 20:35:22 +00:00
|
|
|
config CC_V_4_5_0
|
|
|
|
bool
|
|
|
|
prompt "4.5.0 (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select CC_GCC_4_5_or_later
|
|
|
|
|
2010-05-16 17:41:53 +00:00
|
|
|
config CC_V_4_4_4
|
|
|
|
bool
|
|
|
|
prompt "4.4.4 (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select CC_GCC_4_4_or_later
|
|
|
|
|
2010-01-24 21:53:51 +00:00
|
|
|
config CC_V_4_4_3
|
|
|
|
bool
|
2010-01-31 11:22:54 +00:00
|
|
|
prompt "4.4.3"
|
2010-01-24 21:53:51 +00:00
|
|
|
select CC_GCC_4_4_or_later
|
|
|
|
|
2009-10-20 21:41:11 +00:00
|
|
|
config CC_V_4_4_2
|
|
|
|
bool
|
2010-01-31 11:22:54 +00:00
|
|
|
prompt "4.4.2"
|
2009-10-20 21:41:11 +00:00
|
|
|
select CC_GCC_4_4_or_later
|
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_4_1
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2010-01-31 11:22:54 +00:00
|
|
|
prompt "4.4.1"
|
2009-09-13 15:51:33 +00:00
|
|
|
select CC_GCC_4_4_or_later
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_4_0
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2010-01-31 11:22:54 +00:00
|
|
|
prompt "4.4.0"
|
2009-09-13 15:51:33 +00:00
|
|
|
select CC_GCC_4_4_or_later
|
2007-05-06 13:42:10 +00:00
|
|
|
|
2010-09-19 16:37:18 +00:00
|
|
|
config CC_V_4_3_5
|
|
|
|
bool
|
|
|
|
prompt "4.3.5"
|
|
|
|
select CC_GCC_4_3_or_later
|
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_3_4
|
2007-05-06 13:42:10 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "4.3.4"
|
|
|
|
select CC_GCC_4_3_or_later
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_3_3
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "4.3.3"
|
|
|
|
select CC_GCC_4_3_or_later
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_3_2
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "4.3.2"
|
|
|
|
select CC_GCC_4_3_or_later
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_3_1
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "4.3.1"
|
|
|
|
select CC_GCC_4_3_or_later
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_2_4
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "4.2.4"
|
2010-04-07 16:35:22 +00:00
|
|
|
select CC_GCC_4_2_or_later
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_2_3
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "4.2.3 (OBSOLETE)"
|
2010-04-07 16:35:22 +00:00
|
|
|
select CC_GCC_4_2_or_later
|
2009-10-28 18:15:50 +00:00
|
|
|
depends on OBSOLETE
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_2_2
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "4.2.2"
|
2010-04-07 16:35:22 +00:00
|
|
|
select CC_GCC_4_2_or_later
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_2_1
|
2007-03-04 22:56:04 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "4.2.1 (OBSOLETE)"
|
2010-04-07 16:35:22 +00:00
|
|
|
select CC_GCC_4_2_or_later
|
2009-10-28 18:15:50 +00:00
|
|
|
depends on OBSOLETE
|
2007-03-04 22:56:04 +00:00
|
|
|
|
2007-05-20 09:27:05 +00:00
|
|
|
config CC_V_4_2_0
|
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "4.2.0 (OBSOLETE)"
|
2010-04-07 16:35:22 +00:00
|
|
|
select CC_GCC_4_2_or_later
|
2009-10-28 18:15:50 +00:00
|
|
|
depends on OBSOLETE
|
2007-05-20 09:27:05 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_1_2
|
2007-07-29 19:15:27 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "4.1.2 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2007-07-29 19:15:27 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_0_4
|
2008-07-19 12:17:26 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "4.0.4 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2008-07-19 12:17:26 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_3_4_6
|
2009-08-07 16:21:29 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "3.4.6 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2009-08-07 16:21:29 +00:00
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
endchoice
|
|
|
|
|
2010-04-07 16:35:22 +00:00
|
|
|
config CC_GCC_4_2_or_later
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2009-03-26 18:47:34 +00:00
|
|
|
config CC_GCC_4_3_or_later
|
|
|
|
bool
|
|
|
|
default n
|
2010-04-07 16:35:22 +00:00
|
|
|
select CC_GCC_4_2_or_later
|
2010-03-05 17:55:25 +00:00
|
|
|
select CC_GCC_USE_GMP_MPFR
|
2009-03-26 18:47:34 +00:00
|
|
|
|
2009-05-03 21:12:26 +00:00
|
|
|
config CC_GCC_4_4_or_later
|
2009-03-26 18:47:34 +00:00
|
|
|
bool
|
|
|
|
default n
|
2010-02-04 14:18:46 +00:00
|
|
|
select CC_GCC_4_3_or_later
|
2010-09-12 18:54:54 +00:00
|
|
|
select CC_GCC_HAS_GRAPHITE
|
2010-03-05 17:55:25 +00:00
|
|
|
|
2010-04-15 20:35:18 +00:00
|
|
|
config CC_GCC_4_5_or_later
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select CC_GCC_4_4_or_later
|
2010-09-12 18:54:54 +00:00
|
|
|
select CC_GCC_USE_MPC
|
|
|
|
select CC_GCC_HAS_LTO
|
|
|
|
|
|
|
|
config CC_GCC_HAS_GRAPHITE
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config CC_GCC_HAS_LTO
|
|
|
|
bool
|
|
|
|
default n
|
2010-04-15 20:35:18 +00:00
|
|
|
|
2010-03-05 17:55:25 +00:00
|
|
|
config CC_GCC_USE_GMP_MPFR
|
|
|
|
bool
|
|
|
|
default n
|
2010-10-03 21:11:27 +00:00
|
|
|
select GMP_NEEDED
|
|
|
|
select MPFR_NEEDED
|
2010-03-05 17:55:25 +00:00
|
|
|
|
2010-07-10 13:25:10 +00:00
|
|
|
config CC_GCC_USE_PPL_CLOOG
|
2010-03-05 17:55:25 +00:00
|
|
|
bool
|
|
|
|
default n
|
2010-10-03 21:11:27 +00:00
|
|
|
select PPL_NEEDED
|
|
|
|
select CLOOG_NEEDED
|
2009-03-26 18:47:34 +00:00
|
|
|
|
2010-09-12 18:54:54 +00:00
|
|
|
config CC_GCC_USE_MPC
|
2010-04-15 20:35:18 +00:00
|
|
|
bool
|
|
|
|
default n
|
2010-10-03 21:11:27 +00:00
|
|
|
select MPC_NEEDED
|
2010-09-12 18:54:54 +00:00
|
|
|
|
|
|
|
config CC_GCC_USE_LIBELF
|
|
|
|
bool
|
|
|
|
default n
|
2010-10-03 21:11:27 +00:00
|
|
|
select LIBELF_NEEDED
|
2010-04-15 20:35:18 +00:00
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
config CC_VERSION
|
|
|
|
string
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
2010-08-01 01:56:43 +00:00
|
|
|
default "4.5.1" if CC_V_4_5_1
|
2010-04-15 20:35:22 +00:00
|
|
|
default "4.5.0" if CC_V_4_5_0
|
2010-05-16 17:41:53 +00:00
|
|
|
default "4.4.4" if CC_V_4_4_4
|
2010-01-24 21:53:51 +00:00
|
|
|
default "4.4.3" if CC_V_4_4_3
|
2009-10-20 21:41:11 +00:00
|
|
|
default "4.4.2" if CC_V_4_4_2
|
2009-08-02 21:33:38 +00:00
|
|
|
default "4.4.1" if CC_V_4_4_1
|
2009-09-13 15:51:33 +00:00
|
|
|
default "4.4.0" if CC_V_4_4_0
|
2010-09-19 16:37:18 +00:00
|
|
|
default "4.3.5" if CC_V_4_3_5
|
2009-09-13 15:51:33 +00:00
|
|
|
default "4.3.4" if CC_V_4_3_4
|
|
|
|
default "4.3.3" if CC_V_4_3_3
|
|
|
|
default "4.3.2" if CC_V_4_3_2
|
|
|
|
default "4.3.1" if CC_V_4_3_1
|
|
|
|
default "4.3.0" if CC_V_4_3_0
|
|
|
|
default "4.2.4" if CC_V_4_2_4
|
|
|
|
default "4.2.3" if CC_V_4_2_3
|
|
|
|
default "4.2.2" if CC_V_4_2_2
|
|
|
|
default "4.2.1" if CC_V_4_2_1
|
|
|
|
default "4.2.0" if CC_V_4_2_0
|
|
|
|
default "4.1.2" if CC_V_4_1_2
|
|
|
|
default "4.0.4" if CC_V_4_0_4
|
|
|
|
default "3.4.6" if CC_V_3_4_6
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2010-07-28 19:28:54 +00:00
|
|
|
config CC_LANG_JAVA_USE_ECJ
|
2007-03-21 21:03:22 +00:00
|
|
|
bool
|
2008-08-07 13:55:30 +00:00
|
|
|
default y
|
2010-07-28 19:28:54 +00:00
|
|
|
depends on CC_LANG_JAVA
|
|
|
|
depends on CC_GCC_4_3_or_later
|
2008-08-07 13:55:30 +00:00
|
|
|
|
2010-07-28 19:28:54 +00:00
|
|
|
config CC_PKGVERSION
|
|
|
|
string
|
|
|
|
prompt "gcc ID string"
|
|
|
|
depends on CC_GCC_4_3_or_later
|
|
|
|
default "crosstool-NG-${CT_VERSION}"
|
2008-08-07 13:55:30 +00:00
|
|
|
help
|
2010-07-28 19:28:54 +00:00
|
|
|
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.
|
2008-08-07 13:55:30 +00:00
|
|
|
|
2010-07-28 19:28:54 +00:00
|
|
|
This is passed to the configure flag --with-pkgversion.
|
2008-08-07 13:55:30 +00:00
|
|
|
|
2010-07-28 19:28:54 +00:00
|
|
|
config CC_BUGURL
|
|
|
|
string
|
|
|
|
prompt "gcc bug URL"
|
|
|
|
depends on CC_GCC_4_3_or_later
|
|
|
|
default ""
|
2008-08-07 13:55:30 +00:00
|
|
|
help
|
2010-07-28 19:28:54 +00:00
|
|
|
Specify the URL that users should visit if they wish to report a bug.
|
2008-08-07 13:55:30 +00:00
|
|
|
|
2009-08-19 17:44:45 +00:00
|
|
|
config CC_ENABLE_CXX_FLAGS
|
|
|
|
string
|
|
|
|
prompt "Flags to pass to --enable-cxx-flags"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Enter here the value of the gcc's ./configure option --enable-cxx-flags.
|
|
|
|
Leave empty if you don't know better.
|
|
|
|
|
|
|
|
Note: just pass in the option _value_, that is only the part that goes
|
|
|
|
after the '=' sign.
|
|
|
|
|
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 ""
|
2008-09-14 16:21:07 +00:00
|
|
|
depends on ! BARE_METAL
|
2007-02-24 11:00:05 +00:00
|
|
|
help
|
|
|
|
Extra flags to pass onto ./configure when configuring gcc.
|