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_1
64 depends on !BR2_avr32 && !BR2_nios2
67 config BR2_GCC_VERSION_4_5_0
68 depends on !BR2_avr32 && !BR2_nios2
69 bool "gcc 4.5.0 (local trunk checkout)"
71 config BR2_GCC_VERSION_4_5
72 depends on !BR2_avr32 && !BR2_nios2
73 select BR2_GCC_IS_SNAP
74 bool "gcc 4.5 (snapshot)"
77 config BR2_GCC_IS_SNAP
82 config BR2_GCC_SUPPORTS_SYSROOT
84 default n if BR2_GCC_VERSION_3_4_6 || BR2_GCC_VERSION_4_0_4 || BR2_GCC_VERSION_4_1_2
85 default y if !BR2_GCC_VERSION_3_4_6 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_2
87 config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
89 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
90 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
92 config BR2_GCC_SNAP_DATE
93 string "GCC snapshot date"
95 depends on BR2_GCC_IS_SNAP
97 Enter snapshot date to use for gcc. Format is:
100 config BR2_GCC_VERSION
102 default "3.4.6" if BR2_GCC_VERSION_3_4_6
103 default "4.0.4" if BR2_GCC_VERSION_4_0_4
104 default "4.1.2" if BR2_GCC_VERSION_4_1_2
105 default "4.2.0" if BR2_GCC_VERSION_4_2_0
106 default "4.2.1" if BR2_GCC_VERSION_4_2_1
107 default "4.2.2" if BR2_GCC_VERSION_4_2_2
108 default "4.2.3" if BR2_GCC_VERSION_4_2_3
109 default "4.3.0" if BR2_GCC_VERSION_4_3_0
110 default "4.3.1" if BR2_GCC_VERSION_4_3_1
111 default "4.3.2" if BR2_GCC_VERSION_4_3_2
112 default "4.3.3" if BR2_GCC_VERSION_4_3_3
113 default "4.4.1" if BR2_GCC_VERSION_4_4_1
114 default "4.5.0" if BR2_GCC_VERSION_4_5_0
115 default "4.5" if BR2_GCC_VERSION_4_5
117 config BR2_TOOLCHAIN_SYSROOT
118 bool "Enable toolchain with --sysroot support"
119 depends on BR2_GCC_SUPPORTS_SYSROOT
122 Enables --sysroot=dir for binutils and gcc.
123 Use dir as the logical root directory for headers and libraries.
124 For example, if the compiler would normally search for headers in
125 /usr/include and libraries in /usr/lib, it will instead search
126 dir/usr/include and dir/usr/lib.
128 This does not work with gcc < 4.2.0 (4.1.2 gets
129 ORIGINAL_AS_FOR_TARGET wrong)
133 config BR2_GCC_USE_SJLJ_EXCEPTIONS
134 bool "Enable setjmp/longjmp exceptions?"
137 For some platforms, proper stack unwinding works perfectly,
138 while other platforms must use setjmp/longjmp exceptions for
139 proper stack unwinding during exception handling. Most people
140 can leave this set to n.
143 prompt "GCC decimal floating types"
144 default BR2_GCC_DECNUMBER_no
146 As an extension, the GNU C Compiler supports decimal float types
147 as defined in the N1176 draft ISO/IEC WDTR24732.
149 config BR2_GCC_DECNUMBER_no
151 config BR2_GCC_DECNUMBER_yes
153 config BR2_GCC_DECNUMBER_bid
155 config BR2_GCC_DECNUMBER_dpd
159 config BR2_GCC_DECNUMBER
161 default "no" if BR2_GCC_DECNUMBER_no
162 default "yes" if BR2_GCC_DECNUMBER_yes
163 default "bid" if BR2_GCC_DECNUMBER_bid
164 default "dpd" if BR2_GCC_DECNUMBER_dpd
166 config BR2_GCC_USE_INTERWORKING
167 bool "Enable interworking support"
169 depends on BR2_arm || BR2_armeb
170 depends on !BR2_generic_arm && !BR2_arm610 && !BR2_arm710
172 Interworking allows Thumb userspace binaries to be linked
173 against the C standard library compiled in ARM mode.
175 This is only possible on Thumb-aware architectures, i.e not
176 Generic ARM, ARM610 or ARM710.
178 config BR2_THUMB_BINARIES
179 bool "Generate Thumb binaries"
181 depends on BR2_GCC_USE_INTERWORKING
183 Compile binaries in Thumb mode.
185 config BR2_EXTRA_GCC_CONFIG_OPTIONS
186 string "Additional cross-gcc configure options"
189 Any additional gcc configure options you may want to use to
190 build your cross-compiler.
192 config BR2_GCC_CROSS_CXX
193 bool "C++ cross-compiler support"
196 Build a C++ cross-compiler
198 config BR2_GCC_CROSS_GCJ
199 bool "Java cross-compiler support"
202 Build a java cross-compiler
204 config BR2_GCC_CROSS_FORTRAN
205 bool "Fortran cross-compiler support"
207 depends on !BR2_avr32
209 Build a Fortran cross-compiler
211 config BR2_INSTALL_LIBSTDCPP
212 bool "Build/install c++ compiler and libstdc++?"
214 # >= 4.2.0 work fine without LARGEFILE
215 select BR2_LARGEFILE if !BR2_GCC_SUPPORTS_SYSROOT
216 select BR2_GCC_CROSS_CXX
217 depends on !BR2_GCC_VERSION_4_3_0 && !BR2_GCC_VERSION_4_3
218 # simply not yet implemented.
220 Build/install c++ compiler and libstdc++?
222 config BR2_INSTALL_LIBGCJ
223 bool "Build/install Java compiler and runtime?"
225 depends on !BR2_avr32 && BR2_INSTALL_LIBSTDCPP
226 select BR2_GCC_CROSS_GCJ
228 Build/install java compiler and libgcj?
230 config BR2_INSTALL_OBJC
231 bool "Build/install Objective-C compiler and runtime?"
233 depends on !BR2_avr32
235 Build/install Objective-C compiler and runtime?
237 config BR2_INSTALL_FORTRAN
238 bool "Build/install Fortran compiler and runtime?"
240 depends on BR2_GCC_CROSS_FORTRAN && !BR2_avr32
241 select BR2_PACKAGE_LIBMPFR
243 Build/install Fortran compiler and runtime?
244 Note that it is highly recommended NOT to use gfortran
245 from gcc older than 4.2.0
247 config BR2_GCC_SHARED_LIBGCC
248 bool "Build/install a shared libgcc?"
250 # uClibc for alpha currently does not support shared libs
251 depends on BR2_ENABLE_SHARED && !BR2_alpha
253 Build/install a shared libgcc library