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