nbd's makefile/menuconfig rewrite
[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_3_5
10 help
11 Select the version of gcc you wish to use.
12
13 config BR2_GCC_VERSION_3_3_3
14 bool "gcc 3.3.3"
15
16 config BR2_GCC_VERSION_3_3_4
17 bool "gcc 3.3.4"
18
19 config BR2_GCC_VERSION_3_3_5
20 bool "gcc 3.3.5"
21
22 config BR2_GCC_VERSION_3_4_0
23 bool "gcc 3.4.0"
24
25 config BR2_GCC_VERSION_3_4_1
26 bool "gcc 3.4.1"
27
28 config BR2_GCC_VERSION_3_4_2
29 bool "gcc 3.4.2"
30
31 config BR2_GCC_VERSION_3_4_3
32 bool "gcc 3.4.3"
33
34 endchoice
35
36 config BR2_GCC_VERSION
37 string
38 default "2.95" if BR2_GCC_VERSION_2_95
39 default "3.3.3" if BR2_GCC_VERSION_3_3_3
40 default "3.3.4" if BR2_GCC_VERSION_3_3_4
41 default "3.3.5" if BR2_GCC_VERSION_3_3_5
42 default "3.4.0" if BR2_GCC_VERSION_3_4_0
43 default "3.4.1" if BR2_GCC_VERSION_3_4_1
44 default "3.4.2" if BR2_GCC_VERSION_3_4_2
45 default "3.4.3" if BR2_GCC_VERSION_3_4_3
46
47
48 config BR2_GCC_USE_SJLJ_EXCEPTIONS
49 string
50 default "--enable-sjlj-exceptions"
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 "Additional gcc options"
57 default ""
58 help
59 Any additional gcc options you may want to include....
60
61 config BR2_INSTALL_LIBSTDCPP
62 bool "Build/install c++ compiler and libstdc++?"
63 default n
64 help
65 Build/install c++ compiler and libstdc++?
66
67 config BR2_INSTALL_LIBGCJ
68 bool "Build/install java compiler and libgcj?"
69 default n
70 depends on BR2_INSTALL_LIBSTDCPP
71 help
72 Build/install java compiler and libgcj?