2005-01-16 13:43:02 +02:00
|
|
|
# Choose gcc version.
|
2006-03-19 05:50:18 +02:00
|
|
|
|
2005-01-16 13:43:02 +02:00
|
|
|
choice
|
2006-04-21 02:03:42 +03:00
|
|
|
prompt "GCC compiler Version" if TOOLCHAINOPTS
|
2007-01-26 12:55:06 +02:00
|
|
|
default GCC_VERSION_3_4_6 if LINUX_2_4
|
2010-01-19 15:26:03 +02:00
|
|
|
default GCC_VERSION_4_2_4 if avr32
|
2009-08-19 02:07:45 +03:00
|
|
|
default GCC_VERSION_4_3_3 if powerpc64
|
2009-06-21 21:34:07 +03:00
|
|
|
default GCC_VERSION_4_3_3 if TARGET_coldfire
|
2010-05-27 17:04:57 +03:00
|
|
|
default GCC_VERSION_4_3_3 if TARGET_etrax
|
|
|
|
default GCC_VERSION_4_3_3_CS if (arm || armeb) && !TARGET_gemini
|
|
|
|
default GCC_VERSION_4_3_3_CS if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
|
2010-02-23 12:49:58 +02:00
|
|
|
default GCC_VERSION_4_3_4 if TARGET_gemini
|
2009-10-21 17:32:09 +03:00
|
|
|
default GCC_VERSION_4_4_1 if ubicom32
|
2010-02-16 23:29:07 +02:00
|
|
|
default GCC_VERSION_4_4_3 if powerpc
|
2010-02-17 13:07:51 +02:00
|
|
|
default GCC_VERSION_4_4_3 if (TARGET_octeon || TARGET_sibyte)
|
2007-03-08 00:32:10 +02:00
|
|
|
default GCC_VERSION_4_1_2
|
2005-01-16 13:43:02 +02:00
|
|
|
help
|
|
|
|
Select the version of gcc you wish to use.
|
|
|
|
|
2006-04-21 02:03:42 +03:00
|
|
|
config GCC_VERSION_3_4_6
|
2006-03-10 15:31:04 +02:00
|
|
|
bool "gcc 3.4.6"
|
|
|
|
|
2009-03-14 05:21:56 +02:00
|
|
|
if !LINUX_2_4
|
2007-02-22 12:28:46 +02:00
|
|
|
config GCC_VERSION_4_1_2
|
|
|
|
bool "gcc 4.1.2"
|
|
|
|
|
2008-05-31 21:45:07 +03:00
|
|
|
config GCC_VERSION_4_2_4
|
|
|
|
bool "gcc 4.2.4"
|
|
|
|
|
2009-01-27 22:08:34 +02:00
|
|
|
config GCC_VERSION_4_3_3
|
|
|
|
bool "gcc 4.3.3"
|
2009-04-23 12:44:57 +03:00
|
|
|
|
2009-08-07 15:00:25 +03:00
|
|
|
config GCC_VERSION_4_3_4
|
|
|
|
bool "gcc 4.3.4"
|
|
|
|
|
2010-05-28 15:00:22 +03:00
|
|
|
config GCC_VERSION_4_3_5
|
|
|
|
bool "gcc 4.3.5"
|
|
|
|
|
2009-08-07 12:32:52 +03:00
|
|
|
config GCC_VERSION_4_4_1
|
|
|
|
bool "gcc 4.4.1"
|
2009-10-10 22:25:48 +03:00
|
|
|
|
2009-10-21 09:26:39 +03:00
|
|
|
config GCC_VERSION_4_4_2
|
|
|
|
bool "gcc 4.4.2"
|
|
|
|
|
2010-01-24 17:07:12 +02:00
|
|
|
config GCC_VERSION_4_4_3
|
|
|
|
bool "gcc 4.4.3"
|
|
|
|
|
2010-04-19 18:43:08 +03:00
|
|
|
config GCC_VERSION_4_5_0
|
|
|
|
bool "gcc 4.5.0"
|
|
|
|
|
2009-10-10 22:25:48 +03:00
|
|
|
config GCC_VERSION_LLVM
|
|
|
|
bool "llvm-gcc 4.2"
|
2009-10-20 23:52:42 +03:00
|
|
|
depends BROKEN
|
2009-10-19 05:09:52 +03:00
|
|
|
|
|
|
|
config GCC_VERSION_4_3_3_CS
|
|
|
|
bool "gcc 4.3.3 with CodeSourcery enhancements"
|
|
|
|
|
2010-01-25 12:52:23 +02:00
|
|
|
config GCC_VERSION_4_4_1_CS
|
|
|
|
bool "gcc 4.4.1 with CodeSourcery enhancements"
|
|
|
|
depends BROKEN
|
|
|
|
|
2010-01-26 20:41:22 +02:00
|
|
|
config GCC_VERSION_4_4_3_CS
|
|
|
|
bool "gcc 4.4.3 with CodeSourcery enhancements"
|
|
|
|
depends BROKEN
|
|
|
|
|
2009-03-14 05:21:56 +02:00
|
|
|
endif
|
2009-01-27 22:08:34 +02:00
|
|
|
|
2005-01-16 13:43:02 +02:00
|
|
|
endchoice
|
|
|
|
|
2009-11-12 15:42:07 +02:00
|
|
|
config GCC_USE_GRAPHITE
|
|
|
|
bool
|
|
|
|
prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
|
2010-04-20 19:18:08 +03:00
|
|
|
depends GCC_VERSION_4_4 || GCC_VERSION_4_5
|
|
|
|
|
|
|
|
config GCC_USE_SYSTEM_PPL_CLOOG
|
|
|
|
bool
|
2010-04-21 00:13:12 +03:00
|
|
|
prompt "Use the system versions of PPL and CLooG"
|
2010-04-20 19:18:08 +03:00
|
|
|
depends GCC_USE_GRAPHITE
|
|
|
|
default n
|
2009-11-12 15:42:07 +02:00
|
|
|
|
2006-04-21 02:03:42 +03:00
|
|
|
config EXTRA_GCC_CONFIG_OPTIONS
|
2005-04-05 21:21:58 +03:00
|
|
|
string
|
2009-09-10 17:32:36 +03:00
|
|
|
prompt "Additional gcc configure options" if TOOLCHAINOPTS
|
2005-01-16 13:43:02 +02:00
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Any additional gcc options you may want to include....
|
|
|
|
|
2008-07-30 15:54:28 +03:00
|
|
|
config SSP_SUPPORT
|
|
|
|
bool
|
2009-01-08 03:49:11 +02:00
|
|
|
depends !GCC_VERSION_3_4_6
|
2009-09-10 02:42:06 +03:00
|
|
|
prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
|
2008-07-30 15:54:28 +03:00
|
|
|
default n
|
|
|
|
help
|
2009-09-10 02:42:06 +03:00
|
|
|
Enable Stack-Smashing Protection support
|
2008-07-30 15:54:28 +03:00
|
|
|
|
2010-02-26 13:01:28 +02:00
|
|
|
config TLS_SUPPORT
|
|
|
|
bool
|
|
|
|
depends !GCC_VERSION_3_4_6 && UCLIBC_VERSION_NPTL
|
|
|
|
prompt "Enable Thread-local storage (TLS) support" if TOOLCHAINOPTS
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable Thread-local storage support
|
|
|
|
|
2006-04-21 02:03:42 +03:00
|
|
|
config INSTALL_LIBSTDCPP
|
2005-04-05 21:21:58 +03:00
|
|
|
bool
|
2006-04-21 02:03:42 +03:00
|
|
|
prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
|
2005-04-26 01:51:50 +03:00
|
|
|
default y
|
2005-01-16 13:43:02 +02:00
|
|
|
help
|
|
|
|
Build/install c++ compiler and libstdc++?
|
|
|
|
|
2007-08-04 13:59:02 +03:00
|
|
|
config INSTALL_LIBGCJ
|
|
|
|
bool
|
|
|
|
prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Build/install java compiler and GNU classpath ?
|