modernize backfire 10.03 so it can be operational again
[openwrt-10.03/.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)
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_1_2
13         help
14             Select the version of gcc you wish to use.
15
16         config GCC_VERSION_3_4_6
17                 bool "gcc 3.4.6"
18
19 if !LINUX_2_4
20         config GCC_VERSION_4_1_2
21                 bool "gcc 4.1.2"
22
23         config GCC_VERSION_4_2_4
24                 bool "gcc 4.2.4"
25
26         config GCC_VERSION_4_3_3
27                 bool "gcc 4.3.3"
28
29         config GCC_VERSION_4_3_3_CS
30                 bool "gcc 4.3.3 with CodeSourcery enhancements"
31
32         config GCC_VERSION_4_3_4
33                 bool "gcc 4.3.4"
34
35         config GCC_VERSION_4_4_1
36                 bool "gcc 4.4.1"
37
38         config GCC_VERSION_4_4_2
39                 bool "gcc 4.4.2"
40
41         config GCC_VERSION_4_4_3
42                 bool "gcc 4.4.3"
43
44 endif
45
46 endchoice
47
48 config GCC_USE_GRAPHITE
49         bool
50         prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
51         depends GCC_VERSION_4_4_1 || GCC_VERSION_4_4_2 || GCC_VERSION_4_4_3
52
53 config EXTRA_GCC_CONFIG_OPTIONS
54         string
55         prompt "Additional gcc configure options" if TOOLCHAINOPTS
56         default ""
57         help
58             Any additional gcc options you may want to include....
59
60 config SSP_SUPPORT
61         bool
62         depends !GCC_VERSION_3_4_6
63         prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
64         default n
65         help
66             Enable Stack-Smashing Protection support
67
68 config TLS_SUPPORT
69         bool
70         depends !GCC_VERSION_3_4_6
71         prompt "Enable Thread-local storage (TLS) support" if TOOLCHAINOPTS
72         default n
73         help
74             Enable Thread-local storage support
75
76 config INSTALL_LIBSTDCPP
77         bool
78         prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
79         default y
80         help
81             Build/install c++ compiler and libstdc++?
82
83 config INSTALL_LIBGCJ
84         bool
85         prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
86         default n
87         help
88             Build/install java compiler and GNU classpath ?