5a6a691512ece4b0d04d9d9e91c8f15e339d2588
[openwrt/svn-archive/archive.git] / openwrt / toolchain / gcc / Config.in
1 # Choose gcc version.
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.
4
5 if CONFIG_DEVEL
6 comment "Gcc Options"
7 endif
8
9
10 config BR2_GCC_3_4
11 bool
12 default n
13 depends BR2_GCC_VERSION_3_4_4 || BR2_GCC_VERSION_3_4_5 || BR2_GCC_VERSION_4_0_2
14
15 choice
16 prompt "GCC compiler Version" if CONFIG_DEVEL
17 default BR2_GCC_VERSION_4_0_2 if BR2_LINUX_2_6_ARUBA
18 default BR2_GCC_VERSION_3_4_5
19 help
20 Select the version of gcc you wish to use.
21
22 config BR2_GCC_VERSION_3_4_4
23 bool "gcc 3.4.4"
24 select BR2_GCC_3_4
25
26 config BR2_GCC_VERSION_3_4_5
27 bool "gcc 3.4.5"
28 select BR2_GCC_3_4
29
30 config BR2_GCC_VERSION_4_0_2
31 bool "gcc 4.0.2"
32 select BR2_GCC_3_4
33 select BR2_PACKAGE_LIBGCC
34
35 endchoice
36
37 config BR2_GCC_VERSION
38 string
39 default "3.4.4" if BR2_GCC_VERSION_3_4_4
40 default "3.4.5" if BR2_GCC_VERSION_3_4_5 || !CONFIG_DEVEL
41 default "4.0.2" if BR2_GCC_VERSION_4_0_2
42
43
44 config BR2_GCC_USE_SJLJ_EXCEPTIONS
45 string
46 # default "--enable-sjlj-exceptions"
47 default ""
48 help
49 Currently the unwind stuff seems to work for staticly linked apps
50 but not dynamic. So use setjmp/longjmp exceptions by default.
51
52 config BR2_EXTRA_GCC_CONFIG_OPTIONS
53 string
54 prompt "Additional gcc options" if CONFIG_DEVEL
55 default ""
56 help
57 Any additional gcc options you may want to include....
58
59 config BR2_INSTALL_LIBSTDCPP
60 bool
61 prompt "Build/install c++ compiler and libstdc++?" if CONFIG_DEVEL
62 default y
63 help
64 Build/install c++ compiler and libstdc++?
65