2007-02-24 11:00:05 +00:00
|
|
|
# Compiler options
|
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
|
|
|
|
prompt "Show Linaro versions (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
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
|
|
|
|
|
|
|
config CC_V_SVN
|
|
|
|
bool
|
|
|
|
prompt "gcc from svn"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
depends on CONFIGURE_has_svn
|
|
|
|
select CC_GCC_latest
|
|
|
|
|
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
|
|
|
|
2012-10-11 13:55:15 +00:00
|
|
|
config CC_V_linaro_4_7_2012_10
|
2012-04-30 15:58:46 +00:00
|
|
|
bool
|
2012-10-11 13:55:15 +00:00
|
|
|
prompt "linaro-4.7-2012.10 (EXPERIMENTAL)"
|
2012-04-30 15:58:46 +00:00
|
|
|
depends on CC_GCC_SHOW_LINARO
|
|
|
|
select CC_GCC_4_7
|
|
|
|
|
2012-09-21 14:38:18 +00:00
|
|
|
config CC_V_4_7_2
|
|
|
|
bool
|
|
|
|
prompt "4.7.2"
|
|
|
|
select CC_GCC_4_7
|
|
|
|
|
2012-07-03 04:36:33 +00:00
|
|
|
config CC_V_4_7_1
|
|
|
|
bool
|
|
|
|
prompt "4.7.1 (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select CC_GCC_4_7
|
|
|
|
|
2012-03-23 08:36:42 +00:00
|
|
|
config CC_V_4_7_0
|
|
|
|
bool
|
|
|
|
prompt "4.7.0 (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select CC_GCC_4_7
|
|
|
|
|
2012-10-11 13:55:15 +00:00
|
|
|
config CC_V_linaro_4_6_2012_10
|
2011-03-27 23:06:53 +00:00
|
|
|
bool
|
2012-10-11 13:55:15 +00:00
|
|
|
prompt "linaro-4.6-2012.10 (EXPERIMENTAL)"
|
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
|
|
|
|
|
2012-03-01 23:20:09 +00:00
|
|
|
config CC_V_4_6_3
|
|
|
|
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
|
|
|
|
|
2011-10-26 21:25:13 +00:00
|
|
|
config CC_V_4_6_2
|
|
|
|
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
|
|
|
|
|
2011-06-27 19:40:23 +00:00
|
|
|
config CC_V_4_6_1
|
|
|
|
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
|
|
|
|
|
2011-03-26 21:00:05 +00:00
|
|
|
config CC_V_4_6_0
|
|
|
|
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
|
|
|
|
|
2012-03-15 12:13:31 +00:00
|
|
|
config CC_V_linaro_4_5_2012_03
|
2011-02-17 21:29:33 +00:00
|
|
|
bool
|
2012-03-15 12:13:31 +00:00
|
|
|
prompt "linaro-4.5-2012.03 (EXPERIMENTAL)"
|
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
|
|
|
|
2011-06-27 19:40:23 +00:00
|
|
|
config CC_V_4_5_3
|
|
|
|
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
|
|
|
|
|
2010-12-29 01:00:21 +00:00
|
|
|
config CC_V_4_5_2
|
|
|
|
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
|
|
|
|
2010-08-01 01:56:43 +00:00
|
|
|
config CC_V_4_5_1
|
|
|
|
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
|
|
|
|
2010-04-15 20:35:22 +00:00
|
|
|
config CC_V_4_5_0
|
|
|
|
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
|
|
|
|
2011-02-17 21:29:33 +00:00
|
|
|
|
|
|
|
config CC_V_linaro_4_4_2011_02_0
|
|
|
|
bool
|
|
|
|
prompt "linaro-4.4-2011.02-0 (EXPERIMENTAL)"
|
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
|
|
|
|
2012-03-23 08:36:42 +00:00
|
|
|
config CC_V_4_4_7
|
|
|
|
bool
|
|
|
|
prompt "4.4.7"
|
|
|
|
select CC_GCC_4_4
|
|
|
|
|
2011-04-16 20:01:35 +00:00
|
|
|
config CC_V_4_4_6
|
|
|
|
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
|
|
|
|
2010-10-09 21:28:39 +00:00
|
|
|
config CC_V_4_4_5
|
|
|
|
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
|
|
|
|
2010-05-16 17:41:53 +00:00
|
|
|
config CC_V_4_4_4
|
|
|
|
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
|
|
|
|
2010-01-24 21:53:51 +00:00
|
|
|
config CC_V_4_4_3
|
|
|
|
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
|
|
|
|
2009-10-20 21:41:11 +00:00
|
|
|
config CC_V_4_4_2
|
|
|
|
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
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_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
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_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
|
|
|
|
2011-06-27 19:40:23 +00:00
|
|
|
config CC_V_4_3_6
|
|
|
|
bool
|
|
|
|
prompt "4.3.6"
|
|
|
|
select CC_GCC_4_3
|
|
|
|
|
2010-09-19 16:37:18 +00:00
|
|
|
config CC_V_4_3_5
|
|
|
|
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
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_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
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_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
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_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
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_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
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_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
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_2_3
|
2007-02-24 11:00:05 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "4.2.3 (OBSOLETE)"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_2
|
2009-10-28 18:15:50 +00:00
|
|
|
depends on OBSOLETE
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_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
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_V_4_2_1
|
2007-03-04 22:56:04 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "4.2.1 (OBSOLETE)"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_2
|
2009-10-28 18:15:50 +00:00
|
|
|
depends on OBSOLETE
|
2007-03-04 22:56:04 +00:00
|
|
|
|
2007-05-20 09:27:05 +00:00
|
|
|
config CC_V_4_2_0
|
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "4.2.0 (OBSOLETE)"
|
2011-03-27 23:05:18 +00:00
|
|
|
select CC_GCC_4_2
|
2009-10-28 18:15:50 +00:00
|
|
|
depends on OBSOLETE
|
2007-05-20 09:27:05 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_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
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_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
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config CC_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
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
endchoice
|
|
|
|
|
2012-08-22 19:26:10 +00:00
|
|
|
if CC_V_SVN
|
|
|
|
|
|
|
|
config GCC_BRANCH
|
|
|
|
string
|
|
|
|
prompt "Branch or tag to use"
|
|
|
|
default "trunk"
|
|
|
|
help
|
|
|
|
Enter the branch of gcc to use. Default is trunk
|
|
|
|
|
|
|
|
A few examples might be:
|
|
|
|
* trunk
|
|
|
|
* branches/gcc-4_7-branch
|
|
|
|
* branches/gcc-4_4-branch
|
|
|
|
* branches/gccgo
|
|
|
|
* branches/google
|
|
|
|
* tags/gcc_4_7_1_release
|
|
|
|
* tags/microblaze-4.4.2
|
|
|
|
|
|
|
|
config GCC_REVISION
|
|
|
|
string
|
|
|
|
prompt "Revision to use"
|
|
|
|
default "HEAD"
|
|
|
|
help
|
|
|
|
Enter the revision of you want to use. Default is HEAD
|
|
|
|
|
|
|
|
A revision argument can be one of:
|
|
|
|
NUMBER revision number
|
|
|
|
'{' DATE '}' revision at start of the date (*)
|
|
|
|
'HEAD' latest in repository
|
|
|
|
|
|
|
|
(*) If you want to use a date, please use ISO-8601 formats if
|
|
|
|
at all possible.
|
|
|
|
|
|
|
|
config GCC_HTTP
|
|
|
|
bool
|
|
|
|
prompt "use http:// instead of svn://"
|
|
|
|
help
|
|
|
|
By default, when gcc is downloaded it is checked out using
|
|
|
|
svn://gcc.gnu.org/svn/gcc. This option allows you to download gcc
|
|
|
|
from http://gcc.gnu.org/svn/gcc, if you are behind a proxy or firewall.
|
|
|
|
If you are behind a proxy, don't forget to update your
|
|
|
|
.subversion/servers file with your proxy info in [global].
|
|
|
|
|
|
|
|
config GCC_CHECKOUT
|
|
|
|
bool
|
|
|
|
prompt "checkout instead of export"
|
|
|
|
help
|
|
|
|
By default, the gcc download will be an export of the subversion
|
|
|
|
repository. If you say 'y' here, then the repository will instead be
|
|
|
|
checked-out, so that you can update it later.
|
|
|
|
|
|
|
|
Note that crosstool-NG will *not* update your working copy, you will
|
|
|
|
have to do that yourself.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
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
|
|
|
|
|
2012-08-22 19:26:10 +00:00
|
|
|
config CC_GCC_latest
|
|
|
|
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
|
|
|
|
select CC_GCC_HAS_LNK_HASH_STYLE
|
|
|
|
select CC_GCC_HAS_LIBQUADMATH
|
|
|
|
|
2010-09-12 18:54:54 +00:00
|
|
|
config CC_GCC_HAS_GRAPHITE
|
|
|
|
bool
|
|
|
|
|
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
|
|
|
|
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-07-10 13:25:10 +00:00
|
|
|
config CC_GCC_USE_PPL_CLOOG
|
2010-03-05 17:55:25 +00:00
|
|
|
bool
|
2010-10-03 21:11:27 +00:00
|
|
|
select PPL_NEEDED
|
|
|
|
select CLOOG_NEEDED
|
2009-03-26 18:47:34 +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
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
config CC_VERSION
|
|
|
|
string
|
2012-08-22 19:26:10 +00:00
|
|
|
default "SVN" if CC_V_SVN
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
2012-10-11 13:55:15 +00:00
|
|
|
default "linaro-4.7-2012.10" if CC_V_linaro_4_7_2012_10
|
2012-09-21 14:38:18 +00:00
|
|
|
default "4.7.2" if CC_V_4_7_2
|
2012-07-03 04:36:33 +00:00
|
|
|
default "4.7.1" if CC_V_4_7_1
|
2012-03-23 08:36:42 +00:00
|
|
|
default "4.7.0" if CC_V_4_7_0
|
2012-10-11 13:55:15 +00:00
|
|
|
default "linaro-4.6-2012.10" if CC_V_linaro_4_6_2012_10
|
2012-03-01 23:20:09 +00:00
|
|
|
default "4.6.3" if CC_V_4_6_3
|
2011-10-26 21:25:13 +00:00
|
|
|
default "4.6.2" if CC_V_4_6_2
|
2011-06-27 19:40:23 +00:00
|
|
|
default "4.6.1" if CC_V_4_6_1
|
2011-03-26 21:00:05 +00:00
|
|
|
default "4.6.0" if CC_V_4_6_0
|
2012-03-15 12:13:31 +00:00
|
|
|
default "linaro-4.5-2012.03" if CC_V_linaro_4_5_2012_03
|
2011-06-27 19:40:23 +00:00
|
|
|
default "4.5.3" if CC_V_4_5_3
|
2010-12-29 01:00:21 +00:00
|
|
|
default "4.5.2" if CC_V_4_5_2
|
2010-08-01 01:56:43 +00:00
|
|
|
default "4.5.1" if CC_V_4_5_1
|
2010-04-15 20:35:22 +00:00
|
|
|
default "4.5.0" if CC_V_4_5_0
|
2011-02-17 21:29:33 +00:00
|
|
|
default "linaro-4.4-2011.02-0" if CC_V_linaro_4_4_2011_02_0
|
2012-03-23 08:36:42 +00:00
|
|
|
default "4.4.7" if CC_V_4_4_7
|
2011-06-27 19:40:23 +00:00
|
|
|
default "4.4.6" if CC_V_4_4_6
|
2010-10-09 21:28:39 +00:00
|
|
|
default "4.4.5" if CC_V_4_4_5
|
2010-05-16 17:41:53 +00:00
|
|
|
default "4.4.4" if CC_V_4_4_4
|
2010-01-24 21:53:51 +00:00
|
|
|
default "4.4.3" if CC_V_4_4_3
|
2009-10-20 21:41:11 +00:00
|
|
|
default "4.4.2" if CC_V_4_4_2
|
2009-08-02 21:33:38 +00:00
|
|
|
default "4.4.1" if CC_V_4_4_1
|
2009-09-13 15:51:33 +00:00
|
|
|
default "4.4.0" if CC_V_4_4_0
|
2011-06-27 19:40:23 +00:00
|
|
|
default "4.3.6" if CC_V_4_3_6
|
2010-09-19 16:37:18 +00:00
|
|
|
default "4.3.5" if CC_V_4_3_5
|
2009-09-13 15:51:33 +00:00
|
|
|
default "4.3.4" if CC_V_4_3_4
|
|
|
|
default "4.3.3" if CC_V_4_3_3
|
|
|
|
default "4.3.2" if CC_V_4_3_2
|
|
|
|
default "4.3.1" if CC_V_4_3_1
|
|
|
|
default "4.3.0" if CC_V_4_3_0
|
|
|
|
default "4.2.4" if CC_V_4_2_4
|
|
|
|
default "4.2.3" if CC_V_4_2_3
|
|
|
|
default "4.2.2" if CC_V_4_2_2
|
|
|
|
default "4.2.1" if CC_V_4_2_1
|
|
|
|
default "4.2.0" if CC_V_4_2_0
|
|
|
|
default "4.1.2" if CC_V_4_1_2
|
|
|
|
default "4.0.4" if CC_V_4_0_4
|
|
|
|
default "3.4.6" if CC_V_3_4_6
|
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
|