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
|
2016-12-16 23:51:04 +00:00
|
|
|
## select CC_SUPPORT_CXX if !LIBC_none
|
2011-05-08 17:02:44 +00:00
|
|
|
## 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
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
config CC_GCC_CUSTOM
|
|
|
|
bool
|
|
|
|
prompt "Custom gcc"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select CC_GCC_latest
|
|
|
|
help
|
|
|
|
The choosen gcc version shall be not downloaded. Instead use
|
|
|
|
a custom location to get the source.
|
|
|
|
|
|
|
|
if CC_GCC_CUSTOM
|
|
|
|
|
|
|
|
config CC_GCC_CUSTOM_LOCATION
|
|
|
|
string
|
|
|
|
prompt "Full path to custom gcc source"
|
|
|
|
help
|
|
|
|
Enter the path to the directory or tarball of your source for gcc.
|
|
|
|
|
|
|
|
If the path is a tarball, it should extract to: <name>-<version>/
|
|
|
|
where the name is this component, gcc, and the version is set
|
|
|
|
below in the custom version string.
|
|
|
|
|
|
|
|
config CC_GCC_CUSTOM_VERSION
|
|
|
|
string
|
|
|
|
prompt "Custom GCC Version"
|
|
|
|
help
|
|
|
|
Enter the version number for your custom gcc.
|
|
|
|
|
|
|
|
config CC_GCC_VERSION
|
|
|
|
string
|
|
|
|
default CC_GCC_CUSTOM_VERSION
|
|
|
|
|
|
|
|
endif #CC_GCC_CUSTOM
|
|
|
|
|
|
|
|
if ! CC_GCC_CUSTOM
|
|
|
|
|
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.
|
2016-08-25 15:17:22 +00:00
|
|
|
|
2011-03-26 21:04:22 +00:00
|
|
|
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...
|
2016-08-25 15:17:22 +00:00
|
|
|
|
2011-03-26 21:04:22 +00:00
|
|
|
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.
|
2016-08-25 15:17:22 +00:00
|
|
|
|
2011-03-26 21:04:22 +00:00
|
|
|
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
|
2017-01-12 02:47:15 +00:00
|
|
|
|
2016-12-26 01:54:30 +00:00
|
|
|
config CC_GCC_V_6_3_0
|
|
|
|
bool
|
|
|
|
prompt "6.3.0"
|
|
|
|
select CC_GCC_6
|
|
|
|
|
2017-01-12 02:47:15 +00:00
|
|
|
config CC_GCC_V_linaro_6_2
|
|
|
|
bool
|
|
|
|
prompt "linaro-6.2-2016.11"
|
|
|
|
depends on CC_GCC_SHOW_LINARO
|
|
|
|
select CC_GCC_6
|
|
|
|
|
2016-08-24 08:33:24 +00:00
|
|
|
config CC_GCC_V_5_4_0
|
2015-07-19 20:38:00 +00:00
|
|
|
bool
|
2016-08-24 08:33:24 +00:00
|
|
|
prompt "5.4.0"
|
gcc: Support only the latest branch releases of gcc
This change, as per #222, reduces the number of supported releases of
gcc to the latest branch releases.
I noticed while doing this work that gcc-4.5.4 was never added, so I
moved patches for gcc-4.5.3 to 4.5.4 and updated the
bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed
upstream in the 4.5.4 release, so this patch is omitted.
I also bumped the avr sample to 4.9.3 from 4.9.2.
With the addition of gcc-5.x, the gcc release team now releases the
major.minor.0 versions, while updates to the branch are available in
svn/git. We'll address that when we get to issue #219. This change just
removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes
CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later.
This is the first of two part changes, as mentioned in #222.
This change is slated for release in 1.22.0. The next change will be
slated for 1.23.0, and will limit gcc versions to what is on
https://gcc.gnu.org under "Release Series and Status", which is
currently 4.9.3 and 5.2.0, although I will also support the previous
supported version. In this example that would be 4.8.5.
Last, but not least, this change also retires AVR32 support.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-10-29 23:16:51 +00:00
|
|
|
select CC_GCC_5
|
2015-05-02 22:52:04 +00:00
|
|
|
|
2017-01-12 02:47:15 +00:00
|
|
|
config CC_GCC_V_linaro_5_3
|
2016-01-03 06:31:40 +00:00
|
|
|
bool
|
2017-01-12 02:47:15 +00:00
|
|
|
prompt "linaro-5.3-2016.05"
|
2016-01-03 06:31:40 +00:00
|
|
|
depends on CC_GCC_SHOW_LINARO
|
|
|
|
select CC_GCC_5
|
|
|
|
|
2015-05-29 20:40:49 +00:00
|
|
|
config CC_GCC_V_linaro_4_9
|
2015-01-06 22:21:28 +00:00
|
|
|
bool
|
2017-01-12 02:47:15 +00:00
|
|
|
prompt "linaro-4.9-2016.02"
|
2015-01-06 22:21:28 +00:00
|
|
|
depends on CC_GCC_SHOW_LINARO
|
|
|
|
select CC_GCC_4_9
|
|
|
|
|
2016-08-25 15:17:22 +00:00
|
|
|
config CC_GCC_V_4_9_4
|
2015-07-10 14:49:37 +00:00
|
|
|
bool
|
2016-08-25 15:17:22 +00:00
|
|
|
prompt "4.9.4"
|
2015-07-10 14:49:37 +00:00
|
|
|
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-07-12 13:16:14 +00:00
|
|
|
prompt "linaro-4.8-2015.06"
|
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-08-29 10:43:43 +00:00
|
|
|
endchoice
|
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
endif # ! CC_GCC_CUSTOM
|
2012-10-11 04:39:41 +00:00
|
|
|
|
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
|
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
|
|
|
|
gcc: Support only the latest branch releases of gcc
This change, as per #222, reduces the number of supported releases of
gcc to the latest branch releases.
I noticed while doing this work that gcc-4.5.4 was never added, so I
moved patches for gcc-4.5.3 to 4.5.4 and updated the
bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed
upstream in the 4.5.4 release, so this patch is omitted.
I also bumped the avr sample to 4.9.3 from 4.9.2.
With the addition of gcc-5.x, the gcc release team now releases the
major.minor.0 versions, while updates to the branch are available in
svn/git. We'll address that when we get to issue #219. This change just
removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes
CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later.
This is the first of two part changes, as mentioned in #222.
This change is slated for release in 1.22.0. The next change will be
slated for 1.23.0, and will limit gcc versions to what is on
https://gcc.gnu.org under "Release Series and Status", which is
currently 4.9.3 and 5.2.0, although I will also support the previous
supported version. In this example that would be 4.8.5.
Last, but not least, this change also retires AVR32 support.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-10-29 23:16:51 +00:00
|
|
|
config CC_GCC_5
|
2015-07-19 20:38:00 +00:00
|
|
|
bool
|
gcc: Support only the latest branch releases of gcc
This change, as per #222, reduces the number of supported releases of
gcc to the latest branch releases.
I noticed while doing this work that gcc-4.5.4 was never added, so I
moved patches for gcc-4.5.3 to 4.5.4 and updated the
bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed
upstream in the 4.5.4 release, so this patch is omitted.
I also bumped the avr sample to 4.9.3 from 4.9.2.
With the addition of gcc-5.x, the gcc release team now releases the
major.minor.0 versions, while updates to the branch are available in
svn/git. We'll address that when we get to issue #219. This change just
removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes
CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later.
This is the first of two part changes, as mentioned in #222.
This change is slated for release in 1.22.0. The next change will be
slated for 1.23.0, and will limit gcc versions to what is on
https://gcc.gnu.org under "Release Series and Status", which is
currently 4.9.3 and 5.2.0, although I will also support the previous
supported version. In this example that would be 4.8.5.
Last, but not least, this change also retires AVR32 support.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-10-29 23:16:51 +00:00
|
|
|
select CC_GCC_5_or_later
|
2015-07-19 20:38:00 +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
|
|
|
|
select CC_GCC_HAS_LIBSANITIZER
|
2016-09-23 00:01:43 +00:00
|
|
|
select CC_GCC_HAS_LIBMPX
|
2015-07-19 20:38:00 +00:00
|
|
|
select CC_SUPPORT_GOLANG
|
|
|
|
|
gcc: Support only the latest branch releases of gcc
This change, as per #222, reduces the number of supported releases of
gcc to the latest branch releases.
I noticed while doing this work that gcc-4.5.4 was never added, so I
moved patches for gcc-4.5.3 to 4.5.4 and updated the
bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed
upstream in the 4.5.4 release, so this patch is omitted.
I also bumped the avr sample to 4.9.3 from 4.9.2.
With the addition of gcc-5.x, the gcc release team now releases the
major.minor.0 versions, while updates to the branch are available in
svn/git. We'll address that when we get to issue #219. This change just
removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes
CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later.
This is the first of two part changes, as mentioned in #222.
This change is slated for release in 1.22.0. The next change will be
slated for 1.23.0, and will limit gcc versions to what is on
https://gcc.gnu.org under "Release Series and Status", which is
currently 4.9.3 and 5.2.0, although I will also support the previous
supported version. In this example that would be 4.8.5.
Last, but not least, this change also retires AVR32 support.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-10-29 23:16:51 +00:00
|
|
|
config CC_GCC_5_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
|
|
|
|
2016-05-10 20:27:22 +00:00
|
|
|
config CC_GCC_6
|
|
|
|
bool
|
|
|
|
select CC_GCC_6_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
|
2016-09-23 00:01:43 +00:00
|
|
|
select CC_GCC_HAS_LIBMPX
|
2016-05-10 20:27:22 +00:00
|
|
|
select CC_SUPPORT_GOLANG
|
|
|
|
|
|
|
|
config CC_GCC_6_or_later
|
|
|
|
bool
|
|
|
|
select CC_GCC_5_or_later
|
gcc: Support only the latest branch releases of gcc
This change, as per #222, reduces the number of supported releases of
gcc to the latest branch releases.
I noticed while doing this work that gcc-4.5.4 was never added, so I
moved patches for gcc-4.5.3 to 4.5.4 and updated the
bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed
upstream in the 4.5.4 release, so this patch is omitted.
I also bumped the avr sample to 4.9.3 from 4.9.2.
With the addition of gcc-5.x, the gcc release team now releases the
major.minor.0 versions, while updates to the branch are available in
svn/git. We'll address that when we get to issue #219. This change just
removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes
CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later.
This is the first of two part changes, as mentioned in #222.
This change is slated for release in 1.22.0. The next change will be
slated for 1.23.0, and will limit gcc versions to what is on
https://gcc.gnu.org under "Release Series and Status", which is
currently 4.9.3 and 5.2.0, although I will also support the previous
supported version. In this example that would be 4.8.5.
Last, but not least, this change also retires AVR32 support.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-10-29 23:16:51 +00:00
|
|
|
|
2015-05-02 22:52:04 +00:00
|
|
|
config CC_GCC_latest
|
|
|
|
bool
|
2016-05-10 20:27:22 +00:00
|
|
|
select CC_GCC_6_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
|
|
|
|
|
2015-11-23 03:13:53 +00:00
|
|
|
# For graphite: gcc needs cloog and isl
|
|
|
|
# In >= gcc-5.x, cloog is no longer needed, but isl is.
|
2013-05-05 15:59:00 +00:00
|
|
|
# Prompt in config/cc/gcc.in.2
|
|
|
|
config CC_GCC_USE_GRAPHITE
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on CC_GCC_HAS_GRAPHITE
|
gcc: Support only the latest branch releases of gcc
This change, as per #222, reduces the number of supported releases of
gcc to the latest branch releases.
I noticed while doing this work that gcc-4.5.4 was never added, so I
moved patches for gcc-4.5.3 to 4.5.4 and updated the
bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed
upstream in the 4.5.4 release, so this patch is omitted.
I also bumped the avr sample to 4.9.3 from 4.9.2.
With the addition of gcc-5.x, the gcc release team now releases the
major.minor.0 versions, while updates to the branch are available in
svn/git. We'll address that when we get to issue #219. This change just
removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes
CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later.
This is the first of two part changes, as mentioned in #222.
This change is slated for release in 1.22.0. The next change will be
slated for 1.23.0, and will limit gcc versions to what is on
https://gcc.gnu.org under "Release Series and Status", which is
currently 4.9.3 and 5.2.0, although I will also support the previous
supported version. In this example that would be 4.8.5.
Last, but not least, this change also retires AVR32 support.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-10-29 23:16:51 +00:00
|
|
|
select CLOOG_NEEDED if !CC_GCC_5_or_later
|
2015-11-21 10:10:50 +00:00
|
|
|
select ISL_NEEDED
|
2013-05-05 15:59:00 +00:00
|
|
|
help
|
|
|
|
Enable the GRAPHITE loop optimsations.
|
|
|
|
|
2015-11-23 03:13:53 +00:00
|
|
|
On some systems (eg. Cygwin), CLooG and ISL (required to enable
|
2013-05-05 15:59:00 +00:00
|
|
|
GRAPHITE) may not build properly (yet), so you'll have to say 'N'
|
|
|
|
here (or help debug the issues)
|
|
|
|
|
2015-11-23 03:13:53 +00:00
|
|
|
TODO: Is this still true on Cygwin?
|
|
|
|
|
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
|
|
|
|
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
|
2016-04-01 22:43:56 +00:00
|
|
|
# They are useful only when doing LTO, but it does no harm enabling
|
2011-01-28 17:53:37 +00:00
|
|
|
# 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
|
|
|
|
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
|
|
|
|
|
2016-09-23 00:01:43 +00:00
|
|
|
config CC_GCC_HAS_LIBMPX
|
|
|
|
bool
|
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
if ! CC_GCC_CUSTOM
|
|
|
|
|
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
|
2016-12-26 01:54:30 +00:00
|
|
|
default "6.3.0" if CC_GCC_V_6_3_0
|
2017-01-12 02:47:15 +00:00
|
|
|
default "linaro-6.2-2016.11" if CC_GCC_V_linaro_6_2
|
2016-08-24 08:33:24 +00:00
|
|
|
default "5.4.0" if CC_GCC_V_5_4_0
|
2017-01-12 02:47:15 +00:00
|
|
|
default "linaro-5.3-2016.05" if CC_GCC_V_linaro_5_3
|
|
|
|
default "linaro-4.9-2016.02" if CC_GCC_V_linaro_4_9
|
2016-08-25 15:17:22 +00:00
|
|
|
default "4.9.4" if CC_GCC_V_4_9_4
|
2015-07-12 13:16:14 +00:00
|
|
|
default "linaro-4.8-2015.06" 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
|
2007-02-24 11:00:05 +00:00
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
endif # ! CC_GCC_CUSTOM
|
|
|
|
|
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
|
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"
|