toolchain/gcc: add support for gcc-4.4.4
[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_3_3 if TARGET_coldfire
9         default GCC_VERSION_4_3_3 if TARGET_etrax
10         default GCC_VERSION_4_3_3_CS if (arm || armeb) && !TARGET_gemini
11         default GCC_VERSION_4_3_3_CS if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
12         default GCC_VERSION_4_3_4 if TARGET_gemini
13         default GCC_VERSION_4_4_1 if ubicom32
14         default GCC_VERSION_4_4_3 if powerpc
15         default GCC_VERSION_4_4_3 if (TARGET_octeon || TARGET_sibyte)
16         default GCC_VERSION_4_1_2
17         help
18           Select the version of gcc you wish to use.
19
20         config GCC_VERSION_3_4_6
21                 bool "gcc 3.4.6"
22
23 if !LINUX_2_4
24         config GCC_VERSION_4_1_2
25                 bool "gcc 4.1.2"
26
27         config GCC_VERSION_4_2_4
28                 bool "gcc 4.2.4"
29
30         config GCC_VERSION_4_3_3
31                 bool "gcc 4.3.3"
32
33         config GCC_VERSION_4_3_4
34                 bool "gcc 4.3.4"
35
36         config GCC_VERSION_4_3_5
37                 bool "gcc 4.3.5"
38
39         config GCC_VERSION_4_4_1
40                 bool "gcc 4.4.1"
41
42         config GCC_VERSION_4_4_2
43                 bool "gcc 4.4.2"
44
45         config GCC_VERSION_4_4_3
46                 bool "gcc 4.4.3"
47
48         config GCC_VERSION_4_4_4
49                 bool "gcc 4.4.4"
50
51         config GCC_VERSION_4_5_0
52                 bool "gcc 4.5.0"
53
54         config GCC_VERSION_LLVM
55                 bool "llvm-gcc 4.2"
56                 depends BROKEN
57
58         config GCC_VERSION_4_3_3_CS
59                 bool "gcc 4.3.3 with CodeSourcery enhancements"
60
61         config GCC_VERSION_4_4_1_CS
62                 bool "gcc 4.4.1 with CodeSourcery enhancements"
63                 depends BROKEN
64
65         config GCC_VERSION_4_4_3_CS
66                 bool "gcc 4.4.3 with CodeSourcery enhancements"
67                 depends BROKEN
68
69 endif
70
71 endchoice
72
73 config GCC_USE_GRAPHITE
74         bool
75         prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
76         depends GCC_VERSION_4_4 || GCC_VERSION_4_5
77
78 config GCC_USE_SYSTEM_PPL_CLOOG
79         bool
80         prompt "Use the system versions of PPL and CLooG"
81         depends GCC_USE_GRAPHITE
82         default n
83
84 config EXTRA_GCC_CONFIG_OPTIONS
85         string
86         prompt "Additional gcc configure options" if TOOLCHAINOPTS
87         default ""
88         help
89             Any additional gcc options you may want to include....
90
91 config SSP_SUPPORT
92         bool
93         depends !GCC_VERSION_3_4_6
94         prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
95         default n
96         help
97             Enable Stack-Smashing Protection support
98
99 config TLS_SUPPORT
100         bool
101         depends !GCC_VERSION_3_4_6 && UCLIBC_VERSION_NPTL
102         prompt "Enable Thread-local storage (TLS) support" if TOOLCHAINOPTS
103         default n
104         help
105             Enable Thread-local storage support
106
107 config INSTALL_LIBSTDCPP
108         bool
109         prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
110         default y
111         help
112             Build/install c++ compiler and libstdc++?
113
114 config INSTALL_LIBGCJ
115         bool
116         prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
117         default n
118         help
119             Build/install java compiler and GNU classpath ?