6 prompt "GCC compiler Version"
7 default BR2_GCC_VERSION_4_3_3
9 Select the version of gcc you wish to use.
11 config BR2_GCC_VERSION_3_4_6
15 config BR2_GCC_VERSION_4_0_4
16 depends on !BR2_avr32 && !BR2_nios2
17 depends on BR2_DEPRECATED
20 config BR2_GCC_VERSION_4_1_2
24 config BR2_GCC_VERSION_4_2_0
25 depends on !BR2_avr32 && !BR2_nios2
26 depends on BR2_DEPRECATED
29 config BR2_GCC_VERSION_4_2_1
30 depends on !BR2_avr32 && !BR2_nios2
31 depends on BR2_DEPRECATED
34 config BR2_GCC_VERSION_4_2_2
35 depends on !BR2_avr32 && !BR2_nios2
36 depends on BR2_DEPRECATED
39 config BR2_GCC_VERSION_4_2_3
40 depends on !BR2_avr32 && !BR2_nios2
41 depends on BR2_DEPRECATED
44 config BR2_GCC_VERSION_4_3_0
45 depends on !BR2_avr32 && !BR2_nios2
46 depends on BR2_DEPRECATED
49 config BR2_GCC_VERSION_4_3_1
50 depends on !BR2_avr32 && !BR2_nios2
51 depends on BR2_DEPRECATED
54 config BR2_GCC_VERSION_4_3_2
55 depends on !BR2_avr32 && !BR2_nios2
56 depends on BR2_DEPRECATED
59 config BR2_GCC_VERSION_4_3_3
60 depends on !BR2_avr32 && !BR2_nios2
63 config BR2_GCC_VERSION_4_4_0
64 depends on !BR2_avr32 && !BR2_nios2
65 bool "gcc 4.4.0 (local trunk checkout)"
67 config BR2_GCC_VERSION_4_4
68 depends on !BR2_avr32 && !BR2_nios2
69 select BR2_GCC_IS_SNAP
70 bool "gcc 4.4 (snapshot)"
73 config BR2_GCC_IS_SNAP
78 config BR2_GCC_SUPPORTS_SYSROOT
80 default n if BR2_GCC_VERSION_3_4_6 || BR2_GCC_VERSION_4_0_4 || BR2_GCC_VERSION_4_1_2
81 default y if !BR2_GCC_VERSION_3_4_6 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_2
83 config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
85 default n if BR2_GCC_VERSION_3_4_6 || BR2_GCC_VERSION_4_0_4 || BR2_GCC_VERSION_4_1_2 || BR2_GCC_VERSION_4_2_0 || BR2_GCC_VERSION_4_2_1 || BR2_GCC_VERSION_4_2_2 || BR2_GCC_VERSION_4_2_3
86 default y if !BR2_GCC_VERSION_3_4_6 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_2 && !BR2_GCC_VERSION_4_2_0 && !BR2_GCC_VERSION_4_2_1 && !BR2_GCC_VERSION_4_2_2 && !BR2_GCC_VERSION_4_2_3
88 config BR2_GCC_SNAP_DATE
89 string "GCC snapshot date"
91 depends on BR2_GCC_IS_SNAP
93 Enter snapshot date to use for gcc. Format is:
96 config BR2_GCC_VERSION
98 default "3.4.6" if BR2_GCC_VERSION_3_4_6
99 default "4.0.4" if BR2_GCC_VERSION_4_0_4
100 default "4.1.2" if BR2_GCC_VERSION_4_1_2
101 default "4.2.0" if BR2_GCC_VERSION_4_2_0
102 default "4.2.1" if BR2_GCC_VERSION_4_2_1
103 default "4.2.2" if BR2_GCC_VERSION_4_2_2
104 default "4.2.3" if BR2_GCC_VERSION_4_2_3
105 default "4.3.0" if BR2_GCC_VERSION_4_3_0
106 default "4.3.1" if BR2_GCC_VERSION_4_3_1
107 default "4.3.2" if BR2_GCC_VERSION_4_3_2
108 default "4.3.3" if BR2_GCC_VERSION_4_3_3
109 default "4.4.0" if BR2_GCC_VERSION_4_4_0
110 default "4.4" if BR2_GCC_VERSION_4_4
112 config BR2_TOOLCHAIN_SYSROOT
113 bool "Enable toolchain with --sysroot support"
114 depends on BR2_GCC_SUPPORTS_SYSROOT
117 Enables --sysroot=dir for binutils and gcc.
118 Use dir as the logical root directory for headers and libraries.
119 For example, if the compiler would normally search for headers in
120 /usr/include and libraries in /usr/lib, it will instead search
121 dir/usr/include and dir/usr/lib.
123 This does not work with gcc < 4.2.0 (4.1.2 gets
124 ORIGINAL_AS_FOR_TARGET wrong)
128 config BR2_GCC_USE_SJLJ_EXCEPTIONS
129 bool "Enable setjmp/longjmp exceptions?"
132 For some platforms, proper stack unwinding works perfectly,
133 while other platforms must use setjmp/longjmp exceptions for
134 proper stack unwinding during exception handling. Most people
135 can leave this set to n.
138 prompt "GCC decimal floating types"
139 default BR2_GCC_DECNUMBER_no
141 As an extension, the GNU C Compiler supports decimal float types
142 as defined in the N1176 draft ISO/IEC WDTR24732.
144 config BR2_GCC_DECNUMBER_no
146 config BR2_GCC_DECNUMBER_yes
148 config BR2_GCC_DECNUMBER_bid
150 config BR2_GCC_DECNUMBER_dpd
154 config BR2_GCC_DECNUMBER
156 default "no" if BR2_GCC_DECNUMBER_no
157 default "yes" if BR2_GCC_DECNUMBER_yes
158 default "bid" if BR2_GCC_DECNUMBER_bid
159 default "dpd" if BR2_GCC_DECNUMBER_dpd
161 config BR2_GCC_USE_INTERWORKING
162 bool "Enable interworking support"
164 depends on BR2_arm || BR2_armeb
165 depends on !BR2_generic_arm && !BR2_arm610 && !BR2_arm710
167 Interworking allows Thumb userspace binaries to be linked
168 against the C standard library compiled in ARM mode.
170 This is only possible on Thumb-aware architectures, i.e not
171 Generic ARM, ARM610 or ARM710.
173 config BR2_THUMB_BINARIES
174 bool "Generate Thumb binaries"
176 depends on BR2_GCC_USE_INTERWORKING
178 Compile binaries in Thumb mode.
180 config BR2_EXTRA_GCC_CONFIG_OPTIONS
181 string "Additional cross-gcc configure options"
184 Any additional gcc configure options you may want to use to
185 build your cross-compiler.
187 config BR2_GCC_CROSS_CXX
188 bool "C++ cross-compiler support"
191 Build a C++ cross-compiler
193 config BR2_GCC_CROSS_GCJ
194 bool "Java cross-compiler support"
197 Build a java cross-compiler
199 config BR2_GCC_CROSS_FORTRAN
200 bool "Fortran cross-compiler support"
202 depends on !BR2_avr32
204 Build a Fortran cross-compiler
206 config BR2_INSTALL_LIBSTDCPP
207 bool "Build/install c++ compiler and libstdc++?"
209 # >= 4.2.0 work fine without LARGEFILE
210 select BR2_LARGEFILE if !BR2_GCC_SUPPORTS_SYSROOT
211 select BR2_GCC_CROSS_CXX
212 depends on !BR2_GCC_VERSION_4_3_0 && !BR2_GCC_VERSION_4_3
213 # simply not yet implemented.
215 Build/install c++ compiler and libstdc++?
217 config BR2_INSTALL_LIBGCJ
218 bool "Build/install Java compiler and runtime?"
220 depends on !BR2_avr32 && BR2_INSTALL_LIBSTDCPP
221 select BR2_GCC_CROSS_GCJ
223 Build/install java compiler and libgcj?
225 config BR2_INSTALL_OBJC
226 bool "Build/install Objective-C compiler and runtime?"
228 depends on !BR2_avr32
230 Build/install Objective-C compiler and runtime?
232 config BR2_INSTALL_FORTRAN
233 bool "Build/install Fortran compiler and runtime?"
235 depends on BR2_GCC_CROSS_FORTRAN && !BR2_avr32
236 select BR2_PACKAGE_LIBMPFR
238 Build/install Fortran compiler and runtime?
239 Note that it is highly recommended NOT to use gfortran
240 from gcc older than 4.2.0
242 config BR2_GCC_SHARED_LIBGCC
243 bool "Build/install a shared libgcc?"
245 # uClibc for alpha currently does not support shared libs
246 depends on BR2_ENABLE_SHARED && !BR2_alpha
248 Build/install a shared libgcc library