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