enable c++ support in toolchain by default (without sjlj exceptions)
[openwrt.git] / 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 choice
10 prompt "GCC compiler Version" if CONFIG_DEVEL
11 default BR2_GCC_VERSION_3_3_5
12 help
13 Select the version of gcc you wish to use.
14
15 config BR2_GCC_VERSION_3_3_3
16 bool "gcc 3.3.3"
17
18 config BR2_GCC_VERSION_3_3_4
19 bool "gcc 3.3.4"
20
21 config BR2_GCC_VERSION_3_3_5
22 bool "gcc 3.3.5"
23
24 config BR2_GCC_VERSION_3_4_0
25 bool "gcc 3.4.0"
26
27 config BR2_GCC_VERSION_3_4_1
28 bool "gcc 3.4.1"
29
30 config BR2_GCC_VERSION_3_4_2
31 bool "gcc 3.4.2"
32
33 config BR2_GCC_VERSION_3_4_3
34 bool "gcc 3.4.3"
35
36 endchoice
37
38 config BR2_GCC_VERSION
39 string
40 default "3.3.3" if BR2_GCC_VERSION_3_3_3
41 default "3.3.4" if BR2_GCC_VERSION_3_3_4
42 default "3.3.5" if BR2_GCC_VERSION_3_3_5 || !CONFIG_DEVEL
43 default "3.4.0" if BR2_GCC_VERSION_3_4_0
44 default "3.4.1" if BR2_GCC_VERSION_3_4_1
45 default "3.4.2" if BR2_GCC_VERSION_3_4_2
46 default "3.4.3" if BR2_GCC_VERSION_3_4_3
47
48
49 config BR2_GCC_USE_SJLJ_EXCEPTIONS
50 string
51 # default "--enable-sjlj-exceptions"
52 default ""
53 help
54 Currently the unwind stuff seems to work for staticly linked apps
55 but not dynamic. So use setjmp/longjmp exceptions by default.
56
57 config BR2_EXTRA_GCC_CONFIG_OPTIONS
58 string
59 prompt "Additional gcc options" if CONFIG_DEVEL
60 default ""
61 help
62 Any additional gcc options you may want to include....
63
64 config BR2_INSTALL_LIBSTDCPP
65 bool
66 prompt "Build/install c++ compiler and libstdc++?" if CONFIG_DEVEL
67 default y
68 help
69 Build/install c++ compiler and libstdc++?
70
This page took 0.052176 seconds and 5 git commands to generate.