2007-02-24 11:00:05 +00:00
|
|
|
# Compiler options
|
2011-05-08 17:02:44 +00:00
|
|
|
#
|
2015-05-29 20:40:49 +00:00
|
|
|
## default y
|
2011-05-08 17:02:44 +00:00
|
|
|
## select CC_SUPPORT_CXX
|
|
|
|
## select CC_SUPPORT_FORTRAN
|
|
|
|
## select CC_SUPPORT_JAVA
|
|
|
|
## select CC_SUPPORT_ADA
|
|
|
|
## select CC_SUPPORT_OBJC
|
|
|
|
## select CC_SUPPORT_OBJCXX
|
|
|
|
##
|
|
|
|
## help gcc is the full-blown GNU compiler. This is what most people will choose.
|
|
|
|
## help
|
|
|
|
## help gcc supports many languages, a powerful code parser, optimised binary
|
|
|
|
## help output, and lots of other features.
|
2008-10-13 16:58:52 +00:00
|
|
|
|
2011-03-26 21:04:22 +00:00
|
|
|
config CC_GCC_SHOW_LINARO
|
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "Show Linaro versions"
|
2011-03-26 21:04:22 +00:00
|
|
|
help
|
|
|
|
Linaro is maintaining some advanced/more stable/experimental versions
|
|
|
|
of gcc, especially for the ARM architecture.
|
|
|
|
|
|
|
|
Those versions have not been blessed by the gcc comunity (nor have they
|
|
|
|
been cursed either!), but they look to be pretty much stable, and even
|
|
|
|
more stable than the upstream versions. YMMV...
|
|
|
|
|
|
|
|
If you do not know what this Linaro stuff is, then simply say 'n' here,
|
|
|
|
and rest in peace. OTOH, if you know what you are doing, you will be
|
|
|
|
able to use and enjoy :-) the Linaro versions by saying 'y' here.
|
|
|
|
|
|
|
|
Linaro: http://www.linaro.org/
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
choice
|
|
|
|
bool
|
2007-08-15 10:14:43 +00:00
|
|
|
prompt "gcc version"
|
2012-08-22 19:26:10 +00:00
|
|
|
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_BELOW
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2015-06-02 17:00:18 +00:00
|
|
|
config CC_GCC_V_5_1_0
|
2015-05-02 22:52:04 +00:00
|
|
|
bool
|
|
|
|
prompt "5.1.0"
|
|
|
|
select CC_GCC_5_1
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_linaro_4_9
|
2015-01-06 22:21:28 +00:00
|
|
|
bool
|
2015-03-15 12:35:59 +00:00
|
|
|
prompt "linaro-4.9-2015.03"
|
2015-01-06 22:21:28 +00:00
|
|
|
depends on CC_GCC_SHOW_LINARO
|
|
|
|
select CC_GCC_4_9
|
|
|
|
|
2015-07-10 14:49:37 +00:00
|
|
|
config CC_GCC_V_4_9_3
|
|
|
|
bool
|
|
|
|
prompt "4.9.3"
|
|
|
|
select CC_GCC_4_9
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_9_2
|
2014-11-03 18:45:53 +00:00
|
|
|
bool
|
|
|
|
prompt "4.9.2"
|
|
|
|
select CC_GCC_4_9
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_9_1
|
2014-07-19 03:21:22 +00:00
|
|
|
bool
|
|
|
|
prompt "4.9.1"
|
|
|
|
select CC_GCC_4_9
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_9_0
|
2014-05-11 21:31:54 +00:00
|
|
|
bool
|
|
|
|
prompt "4.9.0"
|
|
|
|
select CC_GCC_4_9
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_linaro_4_8
|
2013-05-05 16:01:47 +00:00
|
|
|
bool
|
2015-02-18 22:09:12 +00:00
|
|
|
prompt "linaro-4.8-2015.02"
|
2013-05-05 16:01:47 +00:00
|
|
|
depends on CC_GCC_SHOW_LINARO
|
|
|
|
select CC_GCC_4_8
|
|
|
|
|
2015-07-10 14:49:37 +00:00
|
|
|
config CC_GCC_V_4_8_5
|
|
|
|
bool
|
|
|
|
prompt "4.8.5"
|
|
|
|
select CC_GCC_4_8
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_8_4
|
2015-01-09 13:11:19 +00:00
|
|
|
bool
|
|
|
|
prompt "4.8.4"
|
|
|
|
select CC_GCC_4_8
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_8_3
|
2014-07-01 06:25:25 +00:00
|
|
|
bool
|
|
|
|
prompt "4.8.3"
|
|
|
|
select CC_GCC_4_8
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_8_2
|
2013-11-08 14:24:20 +00:00
|
|
|
bool
|
|
|
|
prompt "4.8.2"
|
|
|
|
select CC_GCC_4_8
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_8_1
|
2013-07-28 22:06:35 +00:00
|
|
|
bool
|
|
|
|
prompt "4.8.1"
|
|
|
|
select CC_GCC_4_8
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_8_0
|
2013-05-05 16:01:47 +00:00
|
|
|
bool
|
|
|
|
prompt "4.8.0"
|
|
|
|
select CC_GCC_4_8
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_linaro_4_7
|
2012-04-30 15:58:46 +00:00
|
|
|
bool
|
2014-12-09 06:56:29 +00:00
|
|
|
prompt "linaro-4.7-2014.06"
|
2012-04-30 15:58:46 +00:00
|
|
|
depends on CC_GCC_SHOW_LINARO
|
|
|
|
select CC_GCC_4_7
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_7_4
|
2014-07-01 06:25:25 +00:00
|
|
|
bool
|
|
|
|
prompt "4.7.4"
|
|
|
|
select CC_GCC_4_7
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_7_3
|
2013-05-03 15:36:11 +00:00
|
|
|
bool
|
|
|
|
prompt "4.7.3"
|
|
|
|
select CC_GCC_4_7
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_7_2
|
2012-09-21 14:38:18 +00:00
|
|
|
bool
|
|
|
|
prompt "4.7.2"
|
|
|
|
select CC_GCC_4_7
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_7_1
|
2012-07-03 04:36:33 +00:00
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "4.7.1"
|
2012-07-03 04:36:33 +00:00
|
|
|
select CC_GCC_4_7
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_7_0
|
2012-03-23 08:36:42 +00:00
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "4.7.0"
|
2012-03-23 08:36:42 +00:00
|
|
|
select CC_GCC_4_7
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_linaro_4_6
|
2011-03-27 23:06:53 +00:00
|
|
|
bool
|
2013-06-28 20:23:54 +00:00
|
|
|
prompt "linaro-4.6-2013.05"
|
2011-03-26 21:04:22 +00:00
|
|
|
depends on CC_GCC_SHOW_LINARO
|
2011-03-27 23:06:53 +00:00
|
|
|
select CC_GCC_4_6
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_6_4
|
2013-05-03 15:36:11 +00:00
|
|
|
bool
|
|
|
|
prompt "4.6.4"
|
|
|
|
select CC_GCC_4_6
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_6_3
|
2012-03-01 23:20:09 +00:00
|
|
|
bool
|
2012-04-30 15:20:53 +00:00
|
|
|
prompt "4.6.3"
|
2012-03-01 23:20:09 +00:00
|
|
|
select CC_GCC_4_6
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_6_2
|
2011-10-26 21:25:13 +00:00
|
|
|
bool
|
2012-04-30 15:20:53 +00:00
|
|
|
prompt "4.6.2"
|
2011-10-26 21:25:13 +00:00
|
|
|
select CC_GCC_4_6
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_6_1
|
2011-06-27 19:40:23 +00:00
|
|
|
bool
|
2012-04-30 15:20:53 +00:00
|
|
|
prompt "4.6.1"
|
2011-06-27 19:40:23 +00:00
|
|
|
select CC_GCC_4_6
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_6_0
|
2011-03-26 21:00:05 +00:00
|
|
|
bool
|
2012-04-30 15:20:53 +00:00
|
|
|
prompt "4.6.0"
|
2011-03-26 21:00:05 +00:00
|
|
|
select CC_GCC_4_6
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_linaro_4_5
|
2011-02-17 21:29:33 +00:00
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "linaro-4.5-2012.03"
|
2011-03-26 21:04:22 +00:00
|
|
|
depends on CC_GCC_SHOW_LINARO
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_5
|
2011-02-17 21:29:33 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_5_3
|
2011-06-27 19:40:23 +00:00
|
|
|
bool
|
2012-04-30 15:20:53 +00:00
|
|
|
prompt "4.5.3"
|
2011-06-27 19:40:23 +00:00
|
|
|
select CC_GCC_4_5
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_5_2
|
2010-12-29 01:00:21 +00:00
|
|
|
bool
|
2012-04-30 15:20:53 +00:00
|
|
|
prompt "4.5.2"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_5
|
2010-12-29 01:00:21 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_5_1
|
2010-08-01 01:56:43 +00:00
|
|
|
bool
|
2012-04-30 15:20:53 +00:00
|
|
|
prompt "4.5.1"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_5
|
2010-08-01 01:56:43 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_5_0
|
2010-04-15 20:35:22 +00:00
|
|
|
bool
|
2012-04-30 15:20:53 +00:00
|
|
|
prompt "4.5.0"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_5
|
2010-04-15 20:35:22 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_linaro_4_4
|
2011-02-17 21:29:33 +00:00
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "linaro-4.4-2011.02-0"
|
2011-03-26 21:04:22 +00:00
|
|
|
depends on CC_GCC_SHOW_LINARO
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_4
|
2011-02-17 21:29:33 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_4_7
|
2012-03-23 08:36:42 +00:00
|
|
|
bool
|
|
|
|
prompt "4.4.7"
|
|
|
|
select CC_GCC_4_4
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_4_6
|
2011-04-16 20:01:35 +00:00
|
|
|
bool
|
|
|
|
prompt "4.4.6"
|
2011-05-08 08:52:21 +00:00
|
|
|
select CC_GCC_4_4
|
2011-04-16 20:01:35 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_4_5
|
2010-10-09 21:28:39 +00:00
|
|
|
bool
|
|
|
|
prompt "4.4.5"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_4
|
2010-10-09 21:28:39 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_4_4
|
2010-05-16 17:41:53 +00:00
|
|
|
bool
|
2010-10-09 21:28:39 +00:00
|
|
|
prompt "4.4.4"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_4
|
2010-05-16 17:41:53 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_4_3
|
2010-01-24 21:53:51 +00:00
|
|
|
bool
|
2010-01-31 11:22:54 +00:00
|
|
|
prompt "4.4.3"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_4
|
2010-01-24 21:53:51 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_4_2
|
2009-10-20 21:41:11 +00:00
|
|
|
bool
|
2010-01-31 11:22:54 +00:00
|
|
|
prompt "4.4.2"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_4
|
2009-10-20 21:41:11 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_4_1
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2010-01-31 11:22:54 +00:00
|
|
|
prompt "4.4.1"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_4
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_4_0
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2010-01-31 11:22:54 +00:00
|
|
|
prompt "4.4.0"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_4
|
2007-05-06 13:42:10 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_3_6
|
2011-06-27 19:40:23 +00:00
|
|
|
bool
|
|
|
|
prompt "4.3.6"
|
|
|
|
select CC_GCC_4_3
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_3_5
|
2010-09-19 16:37:18 +00:00
|
|
|
bool
|
|
|
|
prompt "4.3.5"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_3
|
2010-09-19 16:37:18 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_3_4
|
2007-05-06 13:42:10 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "4.3.4"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_3
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_3_3
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "4.3.3"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_3
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_3_2
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "4.3.2"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_3
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_3_1
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "4.3.1"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_3
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_2_4
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "4.2.4"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_2
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2012-12-26 10:53:05 +00:00
|
|
|
# We need that one, it's the only version with avr32 support
|
|
|
|
# because we have a patch for it
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_2_2
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "4.2.2"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_2
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_1_2
|
2007-07-29 19:15:27 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "4.1.2 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2007-07-29 19:15:27 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_4_0_4
|
2008-07-19 12:17:26 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "4.0.4 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2008-07-19 12:17:26 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_3_4_6
|
2009-08-07 16:21:29 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "3.4.6 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2009-08-07 16:21:29 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_CUSTOM
|
2012-10-11 04:39:41 +00:00
|
|
|
bool
|
|
|
|
prompt "Custom gcc"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select CC_GCC_latest
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
endchoice
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
if CC_GCC_CUSTOM
|
2012-10-11 04:39:41 +00:00
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_CUSTOM_LOCATION
|
2012-10-11 04:39:41 +00:00
|
|
|
string
|
|
|
|
prompt "Full path to custom gcc source"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Enter the path to the directory (or tarball) of your source for gcc,
|
|
|
|
or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/gcc
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
endif #CC_GCC_CUSTOM
|
2012-10-11 04:39:41 +00:00
|
|
|
|
2011-03-27 23:05:18 +00:00
|
|
|
config CC_GCC_4_2
|
|
|
|
bool
|
|
|
|
select CC_GCC_4_2_or_later
|
|
|
|
|
2010-04-07 16:35:22 +00:00
|
|
|
config CC_GCC_4_2_or_later
|
|
|
|
bool
|
|
|
|
|
2011-03-27 23:05:18 +00:00
|
|
|
config CC_GCC_4_3
|
|
|
|
bool
|
|
|
|
select CC_GCC_4_3_or_later
|
|
|
|
select CC_GCC_USE_GMP_MPFR
|
2011-05-31 17:55:59 +00:00
|
|
|
select CC_GCC_HAS_PKGVERSION_BUGURL
|
2011-03-27 23:05:18 +00:00
|
|
|
|
2009-03-26 18:47:34 +00:00
|
|
|
config CC_GCC_4_3_or_later
|
|
|
|
bool
|
2010-04-07 16:35:22 +00:00
|
|
|
select CC_GCC_4_2_or_later
|
2011-03-27 23:05:18 +00:00
|
|
|
|
|
|
|
config CC_GCC_4_4
|
|
|
|
bool
|
|
|
|
select CC_GCC_4_4_or_later
|
2010-03-05 17:55:25 +00:00
|
|
|
select CC_GCC_USE_GMP_MPFR
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_HAS_GRAPHITE
|
2011-05-31 17:55:59 +00:00
|
|
|
select CC_GCC_HAS_PKGVERSION_BUGURL
|
2009-03-26 18:47:34 +00:00
|
|
|
|
2009-05-03 21:12:26 +00:00
|
|
|
config CC_GCC_4_4_or_later
|
2009-03-26 18:47:34 +00:00
|
|
|
bool
|
2010-02-04 14:18:46 +00:00
|
|
|
select CC_GCC_4_3_or_later
|
2011-03-27 23:05:18 +00:00
|
|
|
|
|
|
|
config CC_GCC_4_5
|
|
|
|
bool
|
|
|
|
select CC_GCC_4_5_or_later
|
|
|
|
select CC_GCC_USE_GMP_MPFR
|
|
|
|
select CC_GCC_USE_MPC
|
2010-09-12 18:54:54 +00:00
|
|
|
select CC_GCC_HAS_GRAPHITE
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_HAS_LTO
|
2011-05-31 17:55:59 +00:00
|
|
|
select CC_GCC_HAS_PKGVERSION_BUGURL
|
2011-06-27 11:52:15 +00:00
|
|
|
select CC_GCC_HAS_BUILD_ID
|
2010-03-05 17:55:25 +00:00
|
|
|
|
2010-04-15 20:35:18 +00:00
|
|
|
config CC_GCC_4_5_or_later
|
|
|
|
bool
|
|
|
|
select CC_GCC_4_4_or_later
|
2010-09-12 18:54:54 +00:00
|
|
|
|
2011-03-19 15:01:40 +00:00
|
|
|
config CC_GCC_4_6
|
|
|
|
bool
|
|
|
|
select CC_GCC_4_6_or_later
|
|
|
|
select CC_GCC_USE_GMP_MPFR
|
|
|
|
select CC_GCC_USE_MPC
|
|
|
|
select CC_GCC_HAS_GRAPHITE
|
|
|
|
select CC_GCC_HAS_LTO
|
2011-05-31 17:55:59 +00:00
|
|
|
select CC_GCC_HAS_PKGVERSION_BUGURL
|
2011-06-27 11:52:15 +00:00
|
|
|
select CC_GCC_HAS_BUILD_ID
|
2012-05-06 22:11:46 +00:00
|
|
|
select CC_GCC_HAS_LIBQUADMATH
|
2011-03-19 15:01:40 +00:00
|
|
|
|
|
|
|
config CC_GCC_4_6_or_later
|
|
|
|
bool
|
|
|
|
select CC_GCC_4_5_or_later
|
|
|
|
|
2012-03-23 08:36:42 +00:00
|
|
|
config CC_GCC_4_7
|
|
|
|
bool
|
|
|
|
select CC_GCC_4_7_or_later
|
|
|
|
select CC_GCC_USE_GMP_MPFR
|
|
|
|
select CC_GCC_USE_MPC
|
|
|
|
select CC_GCC_HAS_GRAPHITE
|
|
|
|
select CC_GCC_HAS_LTO
|
|
|
|
select CC_GCC_HAS_PKGVERSION_BUGURL
|
|
|
|
select CC_GCC_HAS_BUILD_ID
|
2012-04-30 15:24:58 +00:00
|
|
|
select CC_GCC_HAS_LNK_HASH_STYLE
|
2012-05-06 22:11:46 +00:00
|
|
|
select CC_GCC_HAS_LIBQUADMATH
|
2012-03-23 08:36:42 +00:00
|
|
|
|
|
|
|
config CC_GCC_4_7_or_later
|
|
|
|
bool
|
|
|
|
select CC_GCC_4_6_or_later
|
|
|
|
|
2013-05-05 15:59:00 +00:00
|
|
|
config CC_GCC_4_8
|
|
|
|
bool
|
|
|
|
select CC_GCC_4_8_or_later
|
|
|
|
select CC_GCC_USE_GMP_MPFR
|
|
|
|
select CC_GCC_USE_MPC
|
|
|
|
select CC_GCC_HAS_GRAPHITE
|
|
|
|
select CC_GCC_HAS_LTO
|
|
|
|
select CC_GCC_HAS_PKGVERSION_BUGURL
|
|
|
|
select CC_GCC_HAS_BUILD_ID
|
|
|
|
select CC_GCC_HAS_LNK_HASH_STYLE
|
|
|
|
select CC_GCC_HAS_LIBQUADMATH
|
2014-08-31 15:30:34 +00:00
|
|
|
select CC_GCC_HAS_LIBSANITIZER
|
2013-11-08 14:18:09 +00:00
|
|
|
select CC_SUPPORT_GOLANG
|
2013-05-05 15:59:00 +00:00
|
|
|
|
|
|
|
config CC_GCC_4_8_or_later
|
2012-08-22 19:26:10 +00:00
|
|
|
bool
|
|
|
|
select CC_GCC_4_7_or_later
|
2013-05-05 15:59:00 +00:00
|
|
|
|
2014-05-11 21:31:54 +00:00
|
|
|
config CC_GCC_4_9
|
|
|
|
bool
|
|
|
|
select CC_GCC_4_9_or_later
|
|
|
|
select CC_GCC_USE_GMP_MPFR
|
|
|
|
select CC_GCC_USE_MPC
|
|
|
|
select CC_GCC_HAS_GRAPHITE
|
|
|
|
select CC_GCC_HAS_LTO
|
|
|
|
select CC_GCC_HAS_PKGVERSION_BUGURL
|
|
|
|
select CC_GCC_HAS_BUILD_ID
|
|
|
|
select CC_GCC_HAS_LNK_HASH_STYLE
|
|
|
|
select CC_GCC_HAS_LIBQUADMATH
|
2014-08-31 15:30:34 +00:00
|
|
|
select CC_GCC_HAS_LIBSANITIZER
|
2014-05-11 21:31:54 +00:00
|
|
|
select CC_SUPPORT_GOLANG
|
|
|
|
|
|
|
|
config CC_GCC_4_9_or_later
|
2013-05-05 15:59:00 +00:00
|
|
|
bool
|
|
|
|
select CC_GCC_4_8_or_later
|
2014-05-11 21:31:54 +00:00
|
|
|
|
2015-05-02 22:52:04 +00:00
|
|
|
config CC_GCC_5_1
|
|
|
|
bool
|
|
|
|
select CC_GCC_5_1_or_later
|
|
|
|
select CC_GCC_USE_GMP_MPFR
|
|
|
|
select CC_GCC_USE_MPC
|
|
|
|
select CC_GCC_HAS_GRAPHITE
|
|
|
|
select CC_GCC_HAS_LTO
|
|
|
|
select CC_GCC_HAS_PKGVERSION_BUGURL
|
|
|
|
select CC_GCC_HAS_BUILD_ID
|
|
|
|
select CC_GCC_HAS_LNK_HASH_STYLE
|
|
|
|
select CC_GCC_HAS_LIBQUADMATH
|
|
|
|
select CC_GCC_HAS_LIBSANITIZER
|
|
|
|
select CC_SUPPORT_GOLANG
|
|
|
|
|
|
|
|
config CC_GCC_5_1_or_later
|
2014-05-11 21:31:54 +00:00
|
|
|
bool
|
|
|
|
select CC_GCC_4_9_or_later
|
2015-05-02 22:52:04 +00:00
|
|
|
|
|
|
|
config CC_GCC_latest
|
|
|
|
bool
|
|
|
|
select CC_GCC_5_1_or_later
|
2012-08-22 19:26:10 +00:00
|
|
|
select CC_GCC_USE_GMP_MPFR
|
|
|
|
select CC_GCC_USE_MPC
|
|
|
|
select CC_GCC_HAS_GRAPHITE
|
|
|
|
select CC_GCC_HAS_LTO
|
|
|
|
select CC_GCC_HAS_PKGVERSION_BUGURL
|
|
|
|
select CC_GCC_HAS_BUILD_ID
|
|
|
|
select CC_GCC_HAS_LNK_HASH_STYLE
|
|
|
|
select CC_GCC_HAS_LIBQUADMATH
|
2014-08-31 15:30:34 +00:00
|
|
|
select CC_GCC_HAS_LIBSANITIZER
|
2012-08-22 19:26:10 +00:00
|
|
|
|
2010-09-12 18:54:54 +00:00
|
|
|
config CC_GCC_HAS_GRAPHITE
|
|
|
|
bool
|
|
|
|
|
2013-05-05 15:59:00 +00:00
|
|
|
# For graphite: gcc 4.4..4.7 need ppl, while 4.8.. need isl
|
|
|
|
# Prompt in config/cc/gcc.in.2
|
|
|
|
config CC_GCC_USE_GRAPHITE
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on CC_GCC_HAS_GRAPHITE
|
2015-05-02 23:44:39 +00:00
|
|
|
select CLOOG_NEEDED if !CC_GCC_5_1_or_later
|
2013-05-05 15:59:00 +00:00
|
|
|
select PPL_NEEDED if !CC_GCC_4_8_or_later
|
|
|
|
select ISL_NEEDED if CC_GCC_4_8_or_later
|
|
|
|
help
|
|
|
|
Enable the GRAPHITE loop optimsations.
|
|
|
|
|
|
|
|
On some systems (eg. Cygwin), PPL and/or CLooG (required to enable
|
|
|
|
GRAPHITE) may not build properly (yet), so you'll have to say 'N'
|
|
|
|
here (or help debug the issues)
|
|
|
|
|
2011-01-28 17:53:37 +00:00
|
|
|
# The way LTO works is a bit twisted.
|
|
|
|
# See: http://gcc.gnu.org/wiki/LinkTimeOptimization#Requirements
|
|
|
|
# Basically:
|
|
|
|
# - if binutils has plugins: LTO is handled by ld/gold by loading
|
|
|
|
# the plugin when linking
|
|
|
|
# - if binutils does not have plugins: LTO is handled by collect2
|
|
|
|
# In any case, LTO support does not depend on plugins, but takes
|
|
|
|
# advantage of it
|
2010-09-12 18:54:54 +00:00
|
|
|
config CC_GCC_HAS_LTO
|
|
|
|
bool
|
2010-04-15 20:35:18 +00:00
|
|
|
|
2013-05-05 15:59:00 +00:00
|
|
|
# Prompt in config/cc/gcc.in.2
|
|
|
|
config CC_GCC_USE_LTO
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on CC_GCC_HAS_LTO
|
|
|
|
select CC_GCC_USE_LIBELF if CC_GCC_4_5
|
|
|
|
help
|
|
|
|
Enable the Link Time Optimisations.
|
|
|
|
|
2011-05-31 17:55:59 +00:00
|
|
|
config CC_GCC_HAS_PKGVERSION_BUGURL
|
|
|
|
bool
|
|
|
|
|
2011-06-27 11:52:15 +00:00
|
|
|
config CC_GCC_HAS_BUILD_ID
|
|
|
|
bool
|
|
|
|
|
2011-06-27 13:15:00 +00:00
|
|
|
config CC_GCC_HAS_LNK_HASH_STYLE
|
|
|
|
bool
|
|
|
|
|
2011-01-28 17:53:37 +00:00
|
|
|
# Only enable gcc's support for plugins if binutils has it as well
|
|
|
|
# They are usefull only when doing LTO, but it does no harm enabling
|
|
|
|
# them even without LTO.
|
|
|
|
config CC_GCC_ENABLE_PLUGINS
|
|
|
|
bool
|
|
|
|
depends on BINUTILS_PLUGINS
|
2011-02-22 22:27:42 +00:00
|
|
|
depends on ! STATIC_TOOLCHAIN
|
2011-01-28 17:53:37 +00:00
|
|
|
default y
|
|
|
|
|
|
|
|
# If binutils installs gold, enable support for gold in gcc
|
|
|
|
config CC_GCC_GOLD
|
|
|
|
bool
|
|
|
|
depends on BINUTILS_GOLD_INSTALLED
|
|
|
|
default y
|
|
|
|
|
2010-03-05 17:55:25 +00:00
|
|
|
config CC_GCC_USE_GMP_MPFR
|
|
|
|
bool
|
2010-10-03 21:11:27 +00:00
|
|
|
select GMP_NEEDED
|
|
|
|
select MPFR_NEEDED
|
2010-03-05 17:55:25 +00:00
|
|
|
|
2010-09-12 18:54:54 +00:00
|
|
|
config CC_GCC_USE_MPC
|
2010-04-15 20:35:18 +00:00
|
|
|
bool
|
2010-10-03 21:11:27 +00:00
|
|
|
select MPC_NEEDED
|
2010-09-12 18:54:54 +00:00
|
|
|
|
|
|
|
config CC_GCC_USE_LIBELF
|
|
|
|
bool
|
2010-10-03 21:11:27 +00:00
|
|
|
select LIBELF_NEEDED
|
2010-04-15 20:35:18 +00:00
|
|
|
|
2012-05-06 22:11:46 +00:00
|
|
|
config CC_GCC_HAS_LIBQUADMATH
|
|
|
|
bool
|
|
|
|
|
2014-08-31 15:30:34 +00:00
|
|
|
config CC_GCC_HAS_LIBSANITIZER
|
|
|
|
bool
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_VERSION
|
2007-02-24 11:00:05 +00:00
|
|
|
string
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
2015-06-02 17:00:18 +00:00
|
|
|
default "5.1.0" if CC_GCC_V_5_1_0
|
2015-06-02 16:51:34 +00:00
|
|
|
default "linaro-4.9-2015.03" if CC_GCC_V_linaro_4_9
|
2015-07-10 14:49:37 +00:00
|
|
|
default "4.9.3" if CC_GCC_V_4_9_3
|
2015-06-02 16:51:34 +00:00
|
|
|
default "4.9.2" if CC_GCC_V_4_9_2
|
|
|
|
default "4.9.1" if CC_GCC_V_4_9_1
|
|
|
|
default "4.9.0" if CC_GCC_V_4_9_0
|
|
|
|
default "linaro-4.8-2015.02" if CC_GCC_V_linaro_4_8
|
2015-07-10 14:49:37 +00:00
|
|
|
default "4.8.5" if CC_GCC_V_4_8_5
|
2015-06-02 16:51:34 +00:00
|
|
|
default "4.8.4" if CC_GCC_V_4_8_4
|
|
|
|
default "4.8.3" if CC_GCC_V_4_8_3
|
|
|
|
default "4.8.2" if CC_GCC_V_4_8_2
|
|
|
|
default "4.8.1" if CC_GCC_V_4_8_1
|
|
|
|
default "4.8.0" if CC_GCC_V_4_8_0
|
|
|
|
default "linaro-4.7-2014.06" if CC_GCC_V_linaro_4_7
|
|
|
|
default "4.7.4" if CC_GCC_V_4_7_4
|
|
|
|
default "4.7.3" if CC_GCC_V_4_7_3
|
|
|
|
default "4.7.2" if CC_GCC_V_4_7_2
|
|
|
|
default "4.7.1" if CC_GCC_V_4_7_1
|
|
|
|
default "4.7.0" if CC_GCC_V_4_7_0
|
|
|
|
default "linaro-4.6-2013.05" if CC_GCC_V_linaro_4_6
|
|
|
|
default "4.6.4" if CC_GCC_V_4_6_4
|
|
|
|
default "4.6.3" if CC_GCC_V_4_6_3
|
|
|
|
default "4.6.2" if CC_GCC_V_4_6_2
|
|
|
|
default "4.6.1" if CC_GCC_V_4_6_1
|
|
|
|
default "4.6.0" if CC_GCC_V_4_6_0
|
|
|
|
default "linaro-4.5-2012.03" if CC_GCC_V_linaro_4_5
|
|
|
|
default "4.5.3" if CC_GCC_V_4_5_3
|
|
|
|
default "4.5.2" if CC_GCC_V_4_5_2
|
|
|
|
default "4.5.1" if CC_GCC_V_4_5_1
|
|
|
|
default "4.5.0" if CC_GCC_V_4_5_0
|
|
|
|
default "linaro-4.4-2011.02-0" if CC_GCC_V_linaro_4_4
|
|
|
|
default "4.4.7" if CC_GCC_V_4_4_7
|
|
|
|
default "4.4.6" if CC_GCC_V_4_4_6
|
|
|
|
default "4.4.5" if CC_GCC_V_4_4_5
|
|
|
|
default "4.4.4" if CC_GCC_V_4_4_4
|
|
|
|
default "4.4.3" if CC_GCC_V_4_4_3
|
|
|
|
default "4.4.2" if CC_GCC_V_4_4_2
|
|
|
|
default "4.4.1" if CC_GCC_V_4_4_1
|
|
|
|
default "4.4.0" if CC_GCC_V_4_4_0
|
|
|
|
default "4.3.6" if CC_GCC_V_4_3_6
|
|
|
|
default "4.3.5" if CC_GCC_V_4_3_5
|
|
|
|
default "4.3.4" if CC_GCC_V_4_3_4
|
|
|
|
default "4.3.3" if CC_GCC_V_4_3_3
|
|
|
|
default "4.3.2" if CC_GCC_V_4_3_2
|
|
|
|
default "4.3.1" if CC_GCC_V_4_3_1
|
|
|
|
default "4.3.0" if CC_GCC_V_4_3_0
|
|
|
|
default "4.2.4" if CC_GCC_V_4_2_4
|
|
|
|
default "4.2.2" if CC_GCC_V_4_2_2
|
|
|
|
default "4.1.2" if CC_GCC_V_4_1_2
|
|
|
|
default "4.0.4" if CC_GCC_V_4_0_4
|
|
|
|
default "3.4.6" if CC_GCC_V_3_4_6
|
|
|
|
default "custom" if CC_GCC_CUSTOM
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2010-07-28 19:28:54 +00:00
|
|
|
config CC_LANG_JAVA_USE_ECJ
|
2007-03-21 21:03:22 +00:00
|
|
|
bool
|
2008-08-07 13:55:30 +00:00
|
|
|
default y
|
2010-07-28 19:28:54 +00:00
|
|
|
depends on CC_LANG_JAVA
|
|
|
|
depends on CC_GCC_4_3_or_later
|
2011-07-31 20:19:21 +00:00
|
|
|
|
|
|
|
# Fortran always requires GMP+MPFR, whatever the gcc version
|
|
|
|
config CC_LANG_FORTRAN
|
|
|
|
select CC_GCC_USE_GMP_MPFR
|
2015-05-29 20:40:49 +00:00
|
|
|
|
|
|
|
source "config/cc/gcc.in.2"
|