2006-06-15 16:40:06 +00:00
|
|
|
config GCC_VERSION
|
|
|
|
string
|
|
|
|
default "3.4.6" if GCC_VERSION_3_4_6
|
2007-02-22 10:28:46 +00:00
|
|
|
default "4.1.2" if GCC_VERSION_4_1_2
|
2008-05-31 18:45:07 +00:00
|
|
|
default "4.2.4" if GCC_VERSION_4_2_4
|
2009-01-27 20:08:34 +00:00
|
|
|
default "4.3.3" if GCC_VERSION_4_3_3
|
2009-10-20 09:03:44 +00:00
|
|
|
default "4.3.3+cs" if GCC_VERSION_4_3_3_CS
|
2009-08-07 12:00:25 +00:00
|
|
|
default "4.3.4" if GCC_VERSION_4_3_4
|
2010-05-28 12:00:22 +00:00
|
|
|
default "4.3.5" if GCC_VERSION_4_3_5
|
2009-08-07 09:32:52 +00:00
|
|
|
default "4.4.1" if GCC_VERSION_4_4_1
|
2010-01-25 10:52:23 +00:00
|
|
|
default "4.4.1+cs" if GCC_VERSION_4_4_1_CS
|
2009-10-21 06:26:39 +00:00
|
|
|
default "4.4.2" if GCC_VERSION_4_4_2
|
2010-01-24 15:07:12 +00:00
|
|
|
default "4.4.3" if GCC_VERSION_4_4_3
|
2010-05-28 13:50:47 +00:00
|
|
|
default "4.4.4" if GCC_VERSION_4_4_4
|
2010-04-19 15:43:08 +00:00
|
|
|
default "4.5.0" if GCC_VERSION_4_5_0
|
2010-01-26 20:19:28 +00:00
|
|
|
default "4.4.3+cs" if GCC_VERSION_4_4_3_CS
|
2009-10-10 19:25:48 +00:00
|
|
|
default "llvm" if GCC_VERSION_LLVM
|
2007-03-11 19:26:39 +00:00
|
|
|
default "4.1.2"
|
2006-06-15 16:40:06 +00:00
|
|
|
|
2009-01-21 11:58:17 +00:00
|
|
|
config GCC_VERSION_3
|
|
|
|
bool
|
|
|
|
default y if GCC_VERSION_3_4_6
|
|
|
|
|
|
|
|
config GCC_VERSION_3_4
|
|
|
|
bool
|
|
|
|
default y if GCC_VERSION_3_4_6
|
2009-10-20 09:14:25 +00:00
|
|
|
|
|
|
|
if !LINUX_2_4
|
|
|
|
|
2009-01-21 11:58:17 +00:00
|
|
|
config GCC_VERSION_4
|
|
|
|
bool
|
2009-01-27 20:08:34 +00:00
|
|
|
default y if GCC_VERSION_4_1
|
|
|
|
default y if GCC_VERSION_4_2
|
|
|
|
default y if GCC_VERSION_4_3
|
2009-04-23 09:44:57 +00:00
|
|
|
default y if GCC_VERSION_4_4
|
2010-04-19 15:43:08 +00:00
|
|
|
default y if GCC_VERSION_4_5
|
2009-01-21 11:58:17 +00:00
|
|
|
|
|
|
|
config GCC_VERSION_4_1
|
|
|
|
bool
|
|
|
|
default y if GCC_VERSION_4_1_2
|
|
|
|
|
|
|
|
config GCC_VERSION_4_2
|
|
|
|
bool
|
|
|
|
default y if GCC_VERSION_4_2_4
|
2009-10-10 19:25:48 +00:00
|
|
|
default y if GCC_VERSION_LLVM
|
2009-01-21 11:58:17 +00:00
|
|
|
|
|
|
|
config GCC_VERSION_4_3
|
|
|
|
bool
|
2009-01-27 20:08:34 +00:00
|
|
|
default y if GCC_VERSION_4_3_3
|
2009-10-19 02:09:52 +00:00
|
|
|
default y if GCC_VERSION_4_3_3_CS
|
2009-08-07 12:00:25 +00:00
|
|
|
default y if GCC_VERSION_4_3_4
|
2010-05-28 12:00:22 +00:00
|
|
|
default y if GCC_VERSION_4_3_5
|
2009-01-21 11:58:17 +00:00
|
|
|
|
2009-04-23 09:44:57 +00:00
|
|
|
config GCC_VERSION_4_4
|
|
|
|
bool
|
2009-08-07 09:32:52 +00:00
|
|
|
default y if GCC_VERSION_4_4_1
|
2010-01-25 10:52:23 +00:00
|
|
|
default y if GCC_VERSION_4_4_1_CS
|
2009-10-21 06:26:39 +00:00
|
|
|
default y if GCC_VERSION_4_4_2
|
2010-01-24 15:07:12 +00:00
|
|
|
default y if GCC_VERSION_4_4_3
|
2010-01-26 18:41:22 +00:00
|
|
|
default y if GCC_VERSION_4_4_3_CS
|
2010-05-28 13:50:47 +00:00
|
|
|
default y if GCC_VERSION_4_4_4
|
2009-04-23 09:44:57 +00:00
|
|
|
|
2010-04-19 15:43:08 +00:00
|
|
|
config GCC_VERSION_4_5
|
|
|
|
bool
|
|
|
|
default y if GCC_VERSION_4_5_0
|
|
|
|
|
2009-10-20 09:14:25 +00:00
|
|
|
endif
|
|
|
|
|
2006-06-15 16:40:06 +00:00
|
|
|
if !TOOLCHAINOPTS
|
2007-01-26 10:55:06 +00:00
|
|
|
config GCC_VERSION_3_4_6
|
2007-08-08 12:03:24 +00:00
|
|
|
default y if LINUX_2_4
|
2007-06-28 20:42:21 +00:00
|
|
|
|
2009-10-20 09:14:25 +00:00
|
|
|
if !LINUX_2_4
|
2008-11-25 18:35:48 +00:00
|
|
|
config GCC_VERSION_4_2_4
|
2010-01-19 13:26:03 +00:00
|
|
|
default y if avr32
|
2009-04-30 09:36:19 +00:00
|
|
|
|
|
|
|
config GCC_VERSION_4_3_3
|
2009-08-18 23:07:45 +00:00
|
|
|
default y if powerpc64
|
2009-05-09 11:38:41 +00:00
|
|
|
default y if TARGET_etrax
|
2009-06-21 18:34:07 +00:00
|
|
|
default y if TARGET_coldfire
|
2009-08-21 22:31:47 +00:00
|
|
|
|
2010-02-23 10:49:58 +00:00
|
|
|
config GCC_VERSION_4_3_4
|
|
|
|
default y if TARGET_gemini
|
|
|
|
|
2009-10-20 09:03:44 +00:00
|
|
|
config GCC_VERSION_4_3_3_CS
|
2010-02-17 11:07:51 +00:00
|
|
|
default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
|
2010-02-08 21:26:54 +00:00
|
|
|
default y if (arm || armeb) && !TARGET_gemini
|
2009-10-20 09:03:44 +00:00
|
|
|
|
2009-10-21 14:32:09 +00:00
|
|
|
config GCC_VERSION_4_4_1
|
2009-08-21 22:31:47 +00:00
|
|
|
default y if ubicom32
|
2010-02-16 21:29:07 +00:00
|
|
|
|
|
|
|
config GCC_VERSION_4_4_3
|
|
|
|
default y if powerpc
|
2010-02-17 11:07:51 +00:00
|
|
|
default y if (TARGET_octeon || TARGET_sibyte)
|
2010-02-16 21:29:07 +00:00
|
|
|
|
2006-06-15 16:40:06 +00:00
|
|
|
endif
|
2009-10-20 09:14:25 +00:00
|
|
|
endif
|