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