6 prompt "GCC compiler Version"
7 default BR2_GCC_VERSION_4_3_2
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
58 config BR2_GCC_VERSION_4_4_0
59 depends on !BR2_avr32 && !BR2_nios2
60 bool "gcc 4.4.0 (local trunk checkout)"
62 config BR2_GCC_VERSION_4_4
63 depends on !BR2_avr32 && !BR2_nios2
64 select BR2_GCC_IS_SNAP
65 bool "gcc 4.4 (snapshot)"
68 config BR2_GCC_IS_SNAP
73 config BR2_GCC_SUPPORTS_SYSROOT
75 default n if BR2_GCC_VERSION_3_4_6 || BR2_GCC_VERSION_4_0_4 || BR2_GCC_VERSION_4_1_2
76 default y if !BR2_GCC_VERSION_3_4_6 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_2
78 config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
80 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
81 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
83 config BR2_GCC_SNAP_DATE
84 string "GCC snapshot date"
86 depends on BR2_GCC_IS_SNAP
88 Enter snapshot date to use for gcc. Format is:
91 config BR2_GCC_VERSION
93 default "3.4.6" if BR2_GCC_VERSION_3_4_6
94 default "4.0.4" if BR2_GCC_VERSION_4_0_4
95 default "4.1.2" if BR2_GCC_VERSION_4_1_2
96 default "4.2.0" if BR2_GCC_VERSION_4_2_0
97 default "4.2.1" if BR2_GCC_VERSION_4_2_1
98 default "4.2.2" if BR2_GCC_VERSION_4_2_2
99 default "4.2.3" if BR2_GCC_VERSION_4_2_3
100 default "4.3.0" if BR2_GCC_VERSION_4_3_0
101 default "4.3.1" if BR2_GCC_VERSION_4_3_1
102 default "4.3.2" if BR2_GCC_VERSION_4_3_2
103 default "4.4.0" if BR2_GCC_VERSION_4_4_0
104 default "4.4" if BR2_GCC_VERSION_4_4
106 config BR2_TOOLCHAIN_SYSROOT
107 bool "Enable toolchain with --sysroot support"
108 depends on BR2_GCC_SUPPORTS_SYSROOT
111 Enables --sysroot=dir for binutils and gcc.
112 Use dir as the logical root directory for headers and libraries.
113 For example, if the compiler would normally search for headers in
114 /usr/include and libraries in /usr/lib, it will instead search
115 dir/usr/include and dir/usr/lib.
117 This does not work with gcc < 4.2.0 (4.1.2 gets
118 ORIGINAL_AS_FOR_TARGET wrong)
122 config BR2_GCC_USE_SJLJ_EXCEPTIONS
123 bool "Enable setjmp/longjmp exceptions?"
126 For some platforms, proper stack unwinding works perfectly,
127 while other platforms must use setjmp/longjmp exceptions for
128 proper stack unwinding during exception handling. Most people
129 can leave this set to n.
132 prompt "GCC decimal floating types"
133 default BR2_GCC_DECNUMBER_no
135 As an extension, the GNU C Compiler supports decimal float types
136 as defined in the N1176 draft ISO/IEC WDTR24732.
138 config BR2_GCC_DECNUMBER_no
140 config BR2_GCC_DECNUMBER_yes
142 config BR2_GCC_DECNUMBER_bid
144 config BR2_GCC_DECNUMBER_dpd
148 config BR2_GCC_DECNUMBER
150 default "no" if BR2_GCC_DECNUMBER_no
151 default "yes" if BR2_GCC_DECNUMBER_yes
152 default "bid" if BR2_GCC_DECNUMBER_bid
153 default "dpd" if BR2_GCC_DECNUMBER_dpd
155 config BR2_GCC_USE_INTERWORKING
156 bool "Enable interworking support"
158 depends on BR2_arm || BR2_armeb
159 depends on !BR2_generic_arm && !BR2_arm610 && !BR2_arm710
161 Interworking allows Thumb userspace binaries to be linked
162 against the C standard library compiled in ARM mode.
164 This is only possible on Thumb-aware architectures, i.e not
165 Generic ARM, ARM610 or ARM710.
167 config BR2_THUMB_BINARIES
168 bool "Generate Thumb binaries"
170 depends on BR2_GCC_USE_INTERWORKING
172 Compile binaries in Thumb mode.
174 config BR2_EXTRA_GCC_CONFIG_OPTIONS
175 string "Additional cross-gcc configure options"
178 Any additional gcc configure options you may want to use to
179 build your cross-compiler.
181 config BR2_GCC_CROSS_CXX
182 bool "C++ cross-compiler support"
185 Build a C++ cross-compiler
187 config BR2_GCC_CROSS_FORTRAN
188 bool "Fortran cross-compiler support"
190 depends on !BR2_avr32
192 Build a Fortran cross-compiler
194 config BR2_INSTALL_LIBSTDCPP
195 bool "Build/install c++ compiler and libstdc++?"
197 # >= 4.2.0 work fine without LARGEFILE
198 select BR2_LARGEFILE if !BR2_GCC_SUPPORTS_SYSROOT
199 select BR2_GCC_CROSS_CXX
200 depends on !BR2_GCC_VERSION_4_3_0 && !BR2_GCC_VERSION_4_3
201 # simply not yet implemented.
203 Build/install c++ compiler and libstdc++?
205 config BR2_INSTALL_LIBGCJ
206 bool "Build/install java compiler and libgcj?"
208 depends on !BR2_avr32 && BR2_INSTALL_LIBSTDCPP
210 Build/install java compiler and libgcj?
212 config BR2_INSTALL_OBJC
213 bool "Build/install Objective-C compiler and runtime?"
215 depends on !BR2_avr32
217 Build/install Objective-C compiler and runtime?
219 config BR2_INSTALL_FORTRAN
220 bool "Build/install Fortran compiler and runtime?"
222 depends on BR2_GCC_CROSS_FORTRAN && !BR2_avr32
223 select BR2_PACKAGE_LIBMPFR
225 Build/install Fortran compiler and runtime?
226 Note that it is highly recommended NOT to use gfortran
227 from gcc older than 4.2.0
229 config BR2_GCC_SHARED_LIBGCC
230 bool "Build/install a shared libgcc?"
232 # uClibc for alpha currently does not support shared libs
233 depends on BR2_ENABLE_SHARED && !BR2_alpha
235 Build/install a shared libgcc library