2005-01-16 19:43:02 +08:00
|
|
|
# Choose gcc version.
|
2006-03-19 11:50:18 +08:00
|
|
|
|
2005-01-16 19:43:02 +08:00
|
|
|
choice
|
2006-04-21 07:03:42 +08:00
|
|
|
prompt "GCC compiler Version" if TOOLCHAINOPTS
|
2019-01-02 21:02:03 +08:00
|
|
|
default GCC_USE_VERSION_7_1_ARC if arc
|
|
|
|
default GCC_USE_VERSION_7
|
2005-01-16 19:43:02 +08:00
|
|
|
help
|
|
|
|
Select the version of gcc you wish to use.
|
|
|
|
|
2019-01-02 21:02:03 +08:00
|
|
|
config GCC_USE_VERSION_7_1_ARC
|
|
|
|
select GCC_VERSION_7_1_ARC
|
|
|
|
bool "gcc 7.1.x with support of ARC cores"
|
2015-11-10 20:03:59 +08:00
|
|
|
depends on arc
|
2013-04-03 00:00:35 +08:00
|
|
|
|
2015-08-17 04:20:36 +08:00
|
|
|
config GCC_USE_VERSION_5
|
|
|
|
bool "gcc 5.x"
|
2015-11-10 20:03:59 +08:00
|
|
|
depends on !arc
|
2015-08-17 04:20:36 +08:00
|
|
|
|
2019-01-02 21:02:03 +08:00
|
|
|
config GCC_USE_VERSION_7
|
|
|
|
bool "gcc 7.x"
|
|
|
|
depends on !arc
|
|
|
|
|
2019-10-28 16:56:09 +08:00
|
|
|
config GCC_USE_VERSION_8
|
|
|
|
bool "gcc 8.x"
|
|
|
|
depends on !arc
|
2005-01-16 19:43:02 +08:00
|
|
|
endchoice
|
|
|
|
|
2009-11-12 21:42:07 +08:00
|
|
|
config GCC_USE_GRAPHITE
|
|
|
|
bool
|
|
|
|
prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
|
2010-04-21 00:18:08 +08:00
|
|
|
|
2006-04-21 07:03:42 +08:00
|
|
|
config EXTRA_GCC_CONFIG_OPTIONS
|
2005-04-06 02:21:58 +08:00
|
|
|
string
|
2009-09-10 22:32:36 +08:00
|
|
|
prompt "Additional gcc configure options" if TOOLCHAINOPTS
|
2005-01-16 19:43:02 +08:00
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Any additional gcc options you may want to include....
|
|
|
|
|
2019-01-02 21:02:03 +08:00
|
|
|
config GCC_DEFAULT_PIE
|
|
|
|
bool
|
|
|
|
prompt "Build executable with PIE enabled by default" if TOOLCHAINOPTS
|
|
|
|
depends on !GCC_USE_VERSION_5
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Use gcc configure option --enable-default-pie to turn on -fPIE and -pie by default.
|
|
|
|
|
|
|
|
config GCC_DEFAULT_SSP
|
2008-07-30 20:54:28 +08:00
|
|
|
bool
|
2019-01-02 21:02:03 +08:00
|
|
|
prompt "Build executable with Stack-Smashing Protection enabled by default" if TOOLCHAINOPTS
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Use gcc configure option --enable-default-ssp to turn on -fstack-protector-strong by default.
|
|
|
|
|
|
|
|
config GCC_LIBSSP
|
|
|
|
bool
|
|
|
|
prompt "Build gcc libssp" if TOOLCHAINOPTS
|
2015-06-22 18:31:07 +08:00
|
|
|
depends on !USE_MUSL
|
|
|
|
default y if !USE_MUSL
|
2008-07-30 20:54:28 +08:00
|
|
|
help
|
2009-09-10 07:42:06 +08:00
|
|
|
Enable Stack-Smashing Protection support
|
2008-07-30 20:54:28 +08:00
|
|
|
|
2011-06-23 19:37:39 +08:00
|
|
|
config SJLJ_EXCEPTIONS
|
|
|
|
bool
|
|
|
|
prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Use old setjump()/longjump() exceptions instead of the newer
|
|
|
|
frame unwinding exceptions handling routines. Warning: increases
|
|
|
|
code size and runtime memory usage.
|
|
|
|
|
2011-06-23 19:46:24 +08:00
|
|
|
config INSTALL_GFORTRAN
|
|
|
|
bool
|
|
|
|
prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Build/install GNU fortran compiler ?
|
2016-07-15 18:17:20 +08:00
|
|
|
|
|
|
|
config INSTALL_GCCGO
|
|
|
|
bool
|
|
|
|
prompt "Build/install Go compiler?" if TOOLCHAINOPTS
|
2019-01-02 21:02:03 +08:00
|
|
|
depends on USE_GLIBC || BROKEN
|
2016-07-15 18:17:20 +08:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Build/install GNU gccgo compiler ?
|