2 # WARNING -- 2.95 currently only builds for i386, arm, mips*, and powerpc.
3 # WARNING -- 2.95 does not currently build natively for the target.
10 # the choice option below is completely ignored
11 # if CONFIG_DEVEL isn't set, so we have to set
12 # these manually ... annoying.
13 config BR2_GCC_VERSION_3_4_4
15 default y if BR2_LINUX_2_4_BRCM
17 config BR2_GCC_VERSION_4_0_3
19 default y if BR2_LINUX_2_6_ARUBA || BR2_LINUX_2_6_XSCALE
21 config BR2_GCC_VERSION_4_1_0
25 prompt "GCC compiler Version" if CONFIG_DEVEL
26 default BR2_GCC_VERSION_4_0_3 if BR2_LINUX_2_6_ARUBA || BR2_LINUX_2_6_XSCALE
27 default BR2_GCC_VERSION_3_4_4 if BR2_LINUX_2_4_BRCM
28 default BR2_GCC_VERSION_3_4_6
30 Select the version of gcc you wish to use.
33 config BR2_GCC_VERSION_3_4_4
36 config BR2_GCC_VERSION_3_4_5
39 config BR2_GCC_VERSION_3_4_6
42 config BR2_GCC_VERSION_4_0_2
45 config BR2_GCC_VERSION_4_0_3
48 config BR2_GCC_VERSION_4_1_0
54 config BR2_PACKAGE_LIBGCC
56 default y if BR2_GCC_VERSION_4_0_2 || BR2_GCC_VERSION_4_0_3 || BR2_GCC_VERSION_4_1_0
57 default m if CONFIG_DEVEL
60 config BR2_GCC_VERSION
62 default "3.4.4" if BR2_GCC_VERSION_3_4_4
63 default "3.4.5" if BR2_GCC_VERSION_3_4_5
64 default "3.4.6" if BR2_GCC_VERSION_3_4_6
65 default "4.0.2" if BR2_GCC_VERSION_4_0_2
66 default "4.0.3" if BR2_GCC_VERSION_4_0_3
67 default "4.1.0" if BR2_GCC_VERSION_4_1_0
71 config BR2_GCC_USE_SJLJ_EXCEPTIONS
73 # default "--enable-sjlj-exceptions"
76 Currently the unwind stuff seems to work for staticly linked apps
77 but not dynamic. So use setjmp/longjmp exceptions by default.
79 config BR2_EXTRA_GCC_CONFIG_OPTIONS
81 prompt "Additional gcc options" if CONFIG_DEVEL
84 Any additional gcc options you may want to include....
86 config BR2_INSTALL_LIBSTDCPP
88 prompt "Build/install c++ compiler and libstdc++?" if CONFIG_DEVEL
91 Build/install c++ compiler and libstdc++?