Initial revision
[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 comment "Gcc Options"
6
7 choice
8 prompt "GCC compiler Version"
9 default BR2_GCC_VERSION_3_4_2
10 help
11 Select the version of gcc you wish to use.
12
13 config BR2_GCC_VERSION_2_95
14 bool "gcc 2.95"
15 depends on BR2_arm || BR2_i386 || BR2_mips || BR2_powerpc
16
17 config BR2_GCC_VERSION_3_3_3
18 bool "gcc 3.3.3"
19
20 config BR2_GCC_VERSION_3_3_4
21 bool "gcc 3.3.4"
22
23 config BR2_GCC_VERSION_3_3_5
24 bool "gcc 3.3.5"
25
26 config BR2_GCC_VERSION_3_4_0
27 bool "gcc 3.4.0"
28
29 config BR2_GCC_VERSION_3_4_1
30 bool "gcc 3.4.1"
31
32 config BR2_GCC_VERSION_3_4_2
33 bool "gcc 3.4.2"
34
35 config BR2_GCC_VERSION_3_4_3
36 bool "gcc 3.4.3"
37
38 endchoice
39
40 config BR2_GCC_VERSION
41 string
42 default "2.95" if BR2_GCC_VERSION_2_95
43 default "3.3.3" if BR2_GCC_VERSION_3_3_3
44 default "3.3.4" if BR2_GCC_VERSION_3_3_4
45 default "3.3.5" if BR2_GCC_VERSION_3_3_5
46 default "3.4.0" if BR2_GCC_VERSION_3_4_0
47 default "3.4.1" if BR2_GCC_VERSION_3_4_1
48 default "3.4.2" if BR2_GCC_VERSION_3_4_2
49 default "3.4.3" if BR2_GCC_VERSION_3_4_3
50
51
52 config BR2_GCC_USE_SJLJ_EXCEPTIONS
53 string
54 default "--enable-sjlj-exceptions"
55 help
56 Currently the unwind stuff seems to work for staticly linked apps
57 but not dynamic. So use setjmp/longjmp exceptions by default.
58
59 config BR2_EXTRA_GCC_CONFIG_OPTIONS
60 string "Additional gcc options"
61 default ""
62 help
63 Any additional gcc options you may want to include....
64
65 config BR2_INSTALL_LIBSTDCPP
66 bool "Build/install c++ compiler and libstdc++?"
67 default n
68 help
69 Build/install c++ compiler and libstdc++?
70
71 config BR2_INSTALL_LIBGCJ
72 bool "Build/install java compiler and libgcj?"
73 default n
74 depends on BR2_INSTALL_LIBSTDCPP
75 help
76 Build/install java compiler and libgcj?