let ipkg fail when a package file to be installed is not found
[openwrt/staging/wigyori.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 # 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 || BR2_LINUX_2_6_XSCALE
20
21 config BR2_GCC_VERSION_4_1_0
22 bool
23
24 choice
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
29 help
30 Select the version of gcc you wish to use.
31
32
33 config BR2_GCC_VERSION_3_4_4
34 bool "gcc 3.4.4"
35
36 config BR2_GCC_VERSION_3_4_5
37 bool "gcc 3.4.5"
38
39 config BR2_GCC_VERSION_3_4_6
40 bool "gcc 3.4.6"
41
42 config BR2_GCC_VERSION_4_0_2
43 bool "gcc 4.0.2"
44
45 config BR2_GCC_VERSION_4_0_3
46 bool "gcc 4.0.3"
47
48 config BR2_GCC_VERSION_4_1_0
49 bool "gcc 4.1.0"
50
51 endchoice
52
53 # more nasty hacks
54 config BR2_PACKAGE_LIBGCC
55 tristate
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
58 default n
59
60 config BR2_GCC_VERSION
61 string
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
68 default "3.4.6"
69
70
71 config BR2_GCC_USE_SJLJ_EXCEPTIONS
72 string
73 # default "--enable-sjlj-exceptions"
74 default ""
75 help
76 Currently the unwind stuff seems to work for staticly linked apps
77 but not dynamic. So use setjmp/longjmp exceptions by default.
78
79 config BR2_EXTRA_GCC_CONFIG_OPTIONS
80 string
81 prompt "Additional gcc options" if CONFIG_DEVEL
82 default ""
83 help
84 Any additional gcc options you may want to include....
85
86 config BR2_INSTALL_LIBSTDCPP
87 bool
88 prompt "Build/install c++ compiler and libstdc++?" if CONFIG_DEVEL
89 default y
90 help
91 Build/install c++ compiler and libstdc++?
92