2004-10-09 03:06:03 +02:00
|
|
|
# Choose gcc version.
|
|
|
|
|
2007-09-22 16:16:25 +02:00
|
|
|
comment "GCC Options"
|
2004-10-09 07:33:05 +02:00
|
|
|
|
2013-03-23 23:26:30 +01:00
|
|
|
config BR2_GCC_NEEDS_MPC
|
|
|
|
bool
|
|
|
|
|
2004-10-09 03:06:03 +02:00
|
|
|
choice
|
|
|
|
prompt "GCC compiler Version"
|
2012-09-04 13:28:03 +02:00
|
|
|
default BR2_GCC_VERSION_4_6_X if !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
|
2010-11-09 17:51:45 +01:00
|
|
|
default BR2_GCC_VERSION_4_4_X if BR2_sparc_sparchfleon || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleon || BR2_sparc_sparcsfleonv8
|
2010-08-30 11:05:32 +02:00
|
|
|
default BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 if BR2_avr32
|
2004-10-09 03:06:03 +02:00
|
|
|
help
|
|
|
|
Select the version of gcc you wish to use.
|
|
|
|
|
2009-12-14 12:15:36 +01:00
|
|
|
config BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
|
|
|
|
depends on BR2_avr32
|
|
|
|
bool "gcc 4.2.2-avr32-2.1.5"
|
|
|
|
|
2010-06-15 22:58:17 +02:00
|
|
|
config BR2_GCC_VERSION_4_3_X
|
2012-12-09 12:54:03 +01:00
|
|
|
depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_a9 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_e300c2 && !BR2_powerpc_e300c3 && !BR2_powerpc_e500mc && !BR2_powerpc_464 && !BR2_powerpc_464fp && !BR2_powerpc_476 && !BR2_powerpc_476fp
|
2010-06-15 22:58:17 +02:00
|
|
|
bool "gcc 4.3.x"
|
2010-06-15 15:24:44 +02:00
|
|
|
|
2009-04-23 13:45:02 +02:00
|
|
|
config BR2_GCC_VERSION_4_4_X
|
2012-12-09 12:54:03 +01:00
|
|
|
depends on !BR2_avr32 && !BR2_cortex_a5 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_476 && !BR2_powerpc_476fp
|
2009-04-23 13:45:02 +02:00
|
|
|
bool "gcc 4.4.x"
|
2004-10-09 03:06:03 +02:00
|
|
|
|
2010-11-03 19:59:31 +01:00
|
|
|
config BR2_GCC_VERSION_4_5_X
|
2012-12-09 12:54:03 +01:00
|
|
|
depends on !BR2_avr32 && !BR2_cortex_a15 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
|
2013-03-23 23:26:30 +01:00
|
|
|
select BR2_GCC_NEEDS_MPC
|
2010-11-03 19:59:31 +01:00
|
|
|
bool "gcc 4.5.x"
|
|
|
|
|
2011-04-13 18:29:29 +02:00
|
|
|
config BR2_GCC_VERSION_4_6_X
|
|
|
|
depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
|
2013-03-23 23:26:30 +01:00
|
|
|
select BR2_GCC_NEEDS_MPC
|
2011-04-13 18:29:29 +02:00
|
|
|
bool "gcc 4.6.x"
|
|
|
|
|
2012-04-13 14:44:45 +02:00
|
|
|
config BR2_GCC_VERSION_4_7_X
|
|
|
|
depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
|
2013-03-23 23:26:30 +01:00
|
|
|
select BR2_GCC_NEEDS_MPC
|
2012-04-13 14:44:45 +02:00
|
|
|
bool "gcc 4.7.x"
|
|
|
|
|
2013-03-23 23:26:29 +01:00
|
|
|
config BR2_GCC_VERSION_4_8_X
|
|
|
|
depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
|
2013-03-23 23:26:30 +01:00
|
|
|
select BR2_GCC_NEEDS_MPC
|
2013-03-23 23:26:29 +01:00
|
|
|
bool "gcc 4.8.x"
|
|
|
|
|
2009-12-14 11:59:44 +01:00
|
|
|
config BR2_GCC_VERSION_SNAP
|
2010-11-09 17:51:45 +01:00
|
|
|
depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
|
2013-03-23 23:26:30 +01:00
|
|
|
select BR2_GCC_NEEDS_MPC
|
2009-12-14 11:59:44 +01:00
|
|
|
bool "gcc snapshot"
|
|
|
|
endchoice
|
2006-04-13 07:50:01 +02:00
|
|
|
|
2007-09-25 13:53:44 +02:00
|
|
|
config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
|
|
|
|
bool
|
2011-12-08 23:39:57 +01:00
|
|
|
default y if !BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
|
2007-09-25 13:53:44 +02:00
|
|
|
|
2006-04-13 07:50:01 +02:00
|
|
|
config BR2_GCC_SNAP_DATE
|
|
|
|
string "GCC snapshot date"
|
2012-05-11 05:36:05 +02:00
|
|
|
default "4.8-20120429"
|
2009-12-14 11:59:44 +01:00
|
|
|
depends on BR2_GCC_VERSION_SNAP
|
2006-04-13 07:50:01 +02:00
|
|
|
help
|
2011-05-02 22:38:27 +02:00
|
|
|
Enter snapshot date to use for gcc.
|
|
|
|
Format is: A.B-YYYYMMDD
|
|
|
|
|
|
|
|
A is GCC major version, for example 4.
|
|
|
|
B is GCC minor version, for example 7.
|
|
|
|
YYYYMMDD is snapshot date, for example 20110430.
|
|
|
|
|
|
|
|
This way we'd get version 4.7-20110430
|
2006-04-13 07:50:01 +02:00
|
|
|
|
2004-10-09 03:06:03 +02:00
|
|
|
config BR2_GCC_VERSION
|
|
|
|
string
|
2009-12-14 12:15:36 +01:00
|
|
|
default "4.2.2-avr32-2.1.5" if BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
|
2011-06-28 15:13:59 +02:00
|
|
|
default "4.3.6" if BR2_GCC_VERSION_4_3_X
|
2012-03-13 16:27:25 +01:00
|
|
|
default "4.4.7" if BR2_GCC_VERSION_4_4_X
|
2012-07-02 21:53:54 +02:00
|
|
|
default "4.5.4" if BR2_GCC_VERSION_4_5_X
|
2012-03-04 09:09:52 +01:00
|
|
|
default "4.6.3" if BR2_GCC_VERSION_4_6_X
|
2012-09-21 07:29:54 +02:00
|
|
|
default "4.7.2" if BR2_GCC_VERSION_4_7_X
|
2013-03-23 23:26:29 +01:00
|
|
|
default "4.8.0" if BR2_GCC_VERSION_4_8_X
|
2009-12-14 11:59:44 +01:00
|
|
|
default $BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
|
2004-10-09 03:06:03 +02:00
|
|
|
|
|
|
|
config BR2_EXTRA_GCC_CONFIG_OPTIONS
|
|
|
|
string "Additional gcc options"
|
|
|
|
default ""
|
|
|
|
help
|
2007-01-28 12:57:00 +01:00
|
|
|
Any additional gcc configure options you may want to include....
|
2004-10-09 03:06:03 +02:00
|
|
|
|
2005-02-25 03:38:28 +01:00
|
|
|
config BR2_INSTALL_OBJC
|
|
|
|
bool "Build/install Objective-C compiler and runtime?"
|
2007-07-29 19:36:45 +02:00
|
|
|
depends on !BR2_avr32
|
2005-02-25 03:38:28 +01:00
|
|
|
help
|
2007-01-28 12:57:00 +01:00
|
|
|
Build/install Objective-C compiler and runtime?
|
2006-10-02 21:40:44 +02:00
|
|
|
|
2006-12-22 12:45:20 +01:00
|
|
|
config BR2_INSTALL_FORTRAN
|
|
|
|
bool "Build/install Fortran compiler and runtime?"
|
2007-07-29 19:36:45 +02:00
|
|
|
depends on !BR2_avr32
|
2006-12-22 12:45:20 +01:00
|
|
|
select BR2_PACKAGE_LIBMPFR
|
|
|
|
help
|
2007-01-28 12:57:00 +01:00
|
|
|
Build/install Fortran compiler and runtime?
|
|
|
|
Note that it is highly recommended NOT to use gfortran
|
|
|
|
from gcc older than 4.2.0
|
2006-12-22 12:45:20 +01:00
|
|
|
|
2006-10-02 21:40:44 +02:00
|
|
|
config BR2_GCC_SHARED_LIBGCC
|
|
|
|
bool "Build/install a shared libgcc?"
|
2010-04-05 13:47:15 +02:00
|
|
|
depends on !BR2_PREFER_STATIC_LIB
|
2006-10-02 21:40:44 +02:00
|
|
|
default y
|
2010-08-11 15:43:30 +02:00
|
|
|
depends on !BR2_sparc
|
2006-10-02 21:40:44 +02:00
|
|
|
help
|
2007-01-28 12:57:00 +01:00
|
|
|
Build/install a shared libgcc library
|
2006-12-22 12:45:20 +01:00
|
|
|
|
2009-09-21 01:33:38 +02:00
|
|
|
config BR2_GCC_ENABLE_TLS
|
|
|
|
bool "Enable compiler tls support"
|
|
|
|
default y
|
2010-07-28 09:11:37 +02:00
|
|
|
depends on BR2_PTHREADS_NATIVE
|
2009-09-21 01:33:38 +02:00
|
|
|
help
|
|
|
|
Enable the compiler to generate code for accessing
|
|
|
|
thread local storage variables
|
2011-05-02 20:16:41 +02:00
|
|
|
|
|
|
|
config BR2_GCC_ENABLE_OPENMP
|
|
|
|
bool "Enable compiler OpenMP support"
|
|
|
|
depends on !BR2_PTHREADS_NONE && !BR2_avr32
|
|
|
|
help
|
|
|
|
Enable OpenMP support for the compiler
|