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