a08b8125a7e222eed22096c2e9595d3498035b83
[10.03/openwrt.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 choice
4         prompt "GCC compiler Version" if TOOLCHAINOPTS
5         default GCC_VERSION_3_4_6 if LINUX_2_4
6         default GCC_VERSION_4_2_4 if avr32
7         default GCC_VERSION_4_3_3 if powerpc64
8         default GCC_VERSION_4_4_1 if ubicom32
9         default GCC_VERSION_4_3_3_CS if (mips || mipsel) && !(TARGET_octeon)
10         default GCC_VERSION_4_3_3_CS if (arm || armeb)
11         default GCC_VERSION_4_4_3 if powerpc
12         default GCC_VERSION_4_4_3 if (TARGET_octeon)
13         default GCC_VERSION_4_1_2
14         help
15             Select the version of gcc you wish to use.
16
17         config GCC_VERSION_3_4_6
18                 bool "gcc 3.4.6"
19
20 if !LINUX_2_4
21         config GCC_VERSION_4_1_2
22                 bool "gcc 4.1.2"
23
24         config GCC_VERSION_4_2_4
25                 bool "gcc 4.2.4"
26
27         config GCC_VERSION_4_3_3
28                 bool "gcc 4.3.3"
29
30         config GCC_VERSION_4_3_3_CS
31                 bool "gcc 4.3.3 with CodeSourcery enhancements"
32
33         config GCC_VERSION_4_3_4
34                 bool "gcc 4.3.4"
35
36         config GCC_VERSION_4_4_1
37                 bool "gcc 4.4.1"
38
39         config GCC_VERSION_4_4_2
40                 bool "gcc 4.4.2"
41
42         config GCC_VERSION_4_4_3
43                 bool "gcc 4.4.3"
44
45 endif
46
47 endchoice
48
49 config GCC_USE_GRAPHITE
50         bool
51         prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
52         depends GCC_VERSION_4_4_1 || GCC_VERSION_4_4_2 || GCC_VERSION_4_4_3
53
54 config EXTRA_GCC_CONFIG_OPTIONS
55         string
56         prompt "Additional gcc configure options" if TOOLCHAINOPTS
57         default ""
58         help
59             Any additional gcc options you may want to include....
60
61 config SSP_SUPPORT
62         bool
63         depends !GCC_VERSION_3_4_6
64         prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
65         default n
66         help
67             Enable Stack-Smashing Protection support
68
69 config TLS_SUPPORT
70         bool
71         depends !GCC_VERSION_3_4_6
72         prompt "Enable Thread-local storage (TLS) support" if TOOLCHAINOPTS
73         default n
74         help
75             Enable Thread-local storage support
76
77 config INSTALL_LIBSTDCPP
78         bool
79         prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
80         default y
81         help
82             Build/install c++ compiler and libstdc++?
83
84 config INSTALL_LIBGCJ
85         bool
86         prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
87         default n
88         help
89             Build/install java compiler and GNU classpath ?