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
|
|
|
|
2004-10-09 03:06:03 +02:00
|
|
|
choice
|
|
|
|
prompt "GCC compiler Version"
|
2010-11-09 17:51:45 +01:00
|
|
|
default BR2_GCC_VERSION_4_3_X if !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
|
|
|
|
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"
|
|
|
|
|
2008-06-13 13:49:42 +02:00
|
|
|
config BR2_GCC_VERSION_4_2_4
|
2010-11-09 17:51:45 +01:00
|
|
|
depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
|
2008-06-13 13:49:42 +02:00
|
|
|
bool "gcc 4.2.4"
|
|
|
|
|
2010-06-15 22:58:17 +02:00
|
|
|
config BR2_GCC_VERSION_4_3_X
|
2010-11-09 17:51:45 +01:00
|
|
|
depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
|
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
|
2010-03-30 17:18:25 +02:00
|
|
|
depends on !BR2_avr32
|
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
|
2010-11-09 17:51:45 +01:00
|
|
|
depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
|
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
|
|
|
|
bool "gcc 4.6.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
|
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-04-27 22:13:48 +02:00
|
|
|
default y if !BR2_GCC_VERSION_4_2_4 && !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"
|
2011-05-02 22:38:27 +02:00
|
|
|
default "4.7-20110430"
|
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
|
2008-06-13 13:49:42 +02:00
|
|
|
default "4.2.4" if BR2_GCC_VERSION_4_2_4
|
2010-06-15 22:58:17 +02:00
|
|
|
default "4.3.5" if BR2_GCC_VERSION_4_3_X
|
2011-04-19 14:11:35 +02:00
|
|
|
default "4.4.6" if BR2_GCC_VERSION_4_4_X
|
2011-05-02 20:13:01 +02:00
|
|
|
default "4.5.3" if BR2_GCC_VERSION_4_5_X
|
2011-04-13 18:29:29 +02:00
|
|
|
default "4.6.0" if BR2_GCC_VERSION_4_6_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
|
|
|
|
2009-04-27 16:07:36 +02:00
|
|
|
config BR2_GCC_CROSS_JAVA
|
|
|
|
bool
|
|
|
|
|
2004-10-09 03:06:03 +02:00
|
|
|
config BR2_INSTALL_LIBGCJ
|
|
|
|
bool "Build/install java compiler and libgcj?"
|
2007-07-29 19:36:45 +02:00
|
|
|
depends on !BR2_avr32 && BR2_INSTALL_LIBSTDCPP
|
2009-04-27 16:07:36 +02:00
|
|
|
select BR2_GCC_CROSS_JAVA
|
2009-04-27 16:07:42 +02:00
|
|
|
select BR2_LARGEFILE
|
2010-07-26 22:25:19 +02:00
|
|
|
depends on BROKEN
|
2004-10-09 03:06:03 +02:00
|
|
|
help
|
2007-01-28 12:57:00 +01:00
|
|
|
Build/install java compiler and libgcj?
|
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
|