add gcc 3.4.5
[openwrt-10.03/.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 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_1 || BR2_GCC_VERSION_4_0_2
14
15 choice
16         prompt "GCC compiler Version" if CONFIG_DEVEL
17         default BR2_GCC_VERSION_3_4_4
18         help
19           Select the version of gcc you wish to use.
20
21         config BR2_GCC_VERSION_3_4_4
22                 bool "gcc 3.4.4"
23                 select BR2_GCC_3_4
24
25         config BR2_GCC_VERSION_3_4_5
26                 bool "gcc 3.4.5"
27                 select BR2_GCC_3_4
28
29         config BR2_GCC_VERSION_4_0_1
30                 bool "gcc 4.0.1"
31                 select BR2_GCC_3_4
32                 
33         config BR2_GCC_VERSION_4_0_2
34                 bool "gcc 4.0.2"
35                 select BR2_GCC_3_4
36
37 endchoice
38
39 config BR2_GCC_VERSION
40         string
41         default "3.4.4"     if BR2_GCC_VERSION_3_4_4 || !CONFIG_DEVEL
42         default "3.4.5"     if BR2_GCC_VERSION_3_4_5
43         default "4.0.1"     if BR2_GCC_VERSION_4_0_1
44         default "4.0.2"     if BR2_GCC_VERSION_4_0_2
45
46
47 config BR2_GCC_USE_SJLJ_EXCEPTIONS
48         string
49 #       default "--enable-sjlj-exceptions"
50         default ""
51         help
52             Currently the unwind stuff seems to work for staticly linked apps
53             but not dynamic.  So use setjmp/longjmp exceptions by default.
54
55 config BR2_EXTRA_GCC_CONFIG_OPTIONS
56         string
57         prompt "Additional gcc options" if CONFIG_DEVEL
58         default ""
59         help
60             Any additional gcc options you may want to include....
61
62 config BR2_INSTALL_LIBSTDCPP
63         bool
64         prompt "Build/install c++ compiler and libstdc++?" if CONFIG_DEVEL
65         default y
66         help
67             Build/install c++ compiler and libstdc++?
68