Remove -Werror in order not to treat warnings as errors (fix gcc-4 errors), closes...
[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
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
14 bool
15 default y if BR2_LINUX_2_4_BRCM
16
17 config BR2_GCC_VERSION_4_0_3
18 bool
19 default y if BR2_LINUX_2_6_ARUBA
20
21 choice
22 prompt "GCC compiler Version" if CONFIG_DEVEL
23 default BR2_GCC_VERSION_4_0_3 if BR2_LINUX_2_6_ARUBA
24 default BR2_GCC_VERSION_3_4_4 if BR2_LINUX_2_4_BRCM
25 default BR2_GCC_VERSION_3_4_6
26 help
27 Select the version of gcc you wish to use.
28
29
30 config BR2_GCC_VERSION_3_4_4
31 bool "gcc 3.4.4"
32
33 config BR2_GCC_VERSION_3_4_5
34 bool "gcc 3.4.5"
35
36 config BR2_GCC_VERSION_3_4_6
37 bool "gcc 3.4.6"
38
39 config BR2_GCC_VERSION_4_0_2
40 bool "gcc 4.0.2"
41
42 config BR2_GCC_VERSION_4_0_3
43 bool "gcc 4.0.3"
44
45 config BR2_GCC_VERSION_4_1_0
46 bool "gcc 4.1.0"
47
48 endchoice
49
50 # more nasty hacks
51 config BR2_PACKAGE_LIBGCC
52 tristate
53 default y if BR2_GCC_VERSION_4_0_2 || BR2_GCC_VERSION_4_0_3 || BR2_GCC_VERSION_4_1_0
54 default m if CONFIG_DEVEL
55 default n
56
57 config BR2_GCC_VERSION
58 string
59 default "3.4.4" if BR2_GCC_VERSION_3_4_4
60 default "3.4.5" if BR2_GCC_VERSION_3_4_5
61 default "3.4.6" if BR2_GCC_VERSION_3_4_6
62 default "4.0.2" if BR2_GCC_VERSION_4_0_2
63 default "4.0.3" if BR2_GCC_VERSION_4_0_3
64 default "4.1.0" if BR2_GCC_VERSION_4_1_0
65 default "3.4.6"
66
67
68 config BR2_GCC_USE_SJLJ_EXCEPTIONS
69 string
70 # default "--enable-sjlj-exceptions"
71 default ""
72 help
73 Currently the unwind stuff seems to work for staticly linked apps
74 but not dynamic. So use setjmp/longjmp exceptions by default.
75
76 config BR2_EXTRA_GCC_CONFIG_OPTIONS
77 string
78 prompt "Additional gcc options" if CONFIG_DEVEL
79 default ""
80 help
81 Any additional gcc options you may want to include....
82
83 config BR2_INSTALL_LIBSTDCPP
84 bool
85 prompt "Build/install c++ compiler and libstdc++?" if CONFIG_DEVEL
86 default y
87 help
88 Build/install c++ compiler and libstdc++?
89
This page took 0.036896 seconds and 5 git commands to generate.