add support for gcc 4.7.0 - thanks to acoul!
[openwrt/staging/wigyori.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 choice
4 prompt "GCC compiler Version" if TOOLCHAINOPTS
5 default GCC_VERSION_4_4_6 if GCC_DEFAULT_VERSION_4_4_6
6 default GCC_VERSION_4_6_LINARO
7 help
8 Select the version of gcc you wish to use.
9
10 config GCC_VERSION_4_4_6
11 bool "gcc 4.4.6"
12 depends (avr32 || ubicom32)
13
14 config GCC_VERSION_4_6_2
15 bool "gcc 4.6.2"
16
17 config GCC_VERSION_4_7_0
18 bool "gcc 4.7.0"
19
20 config GCC_VERSION_4_5_LINARO
21 bool "gcc 4.5.x with Linaro enhancements"
22
23 config GCC_VERSION_4_6_LINARO
24 bool "gcc 4.6.x with Linaro enhancements"
25
26 config GCC_VERSION_LLVM
27 bool "llvm-gcc 4.2"
28 depends BROKEN
29
30 endchoice
31
32 config GCC_USE_GRAPHITE
33 bool
34 prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
35 depends !GCC_VERSION_LLVM
36
37 config GCC_USE_SYSTEM_PPL_CLOOG
38 bool
39 prompt "Use the system versions of PPL and CLooG"
40 depends GCC_USE_GRAPHITE
41 default n
42
43 config EXTRA_GCC_CONFIG_OPTIONS
44 string
45 prompt "Additional gcc configure options" if TOOLCHAINOPTS
46 default ""
47 help
48 Any additional gcc options you may want to include....
49
50 config SSP_SUPPORT
51 bool
52 prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
53 default n
54 help
55 Enable Stack-Smashing Protection support
56
57 config TLS_SUPPORT
58 bool
59 prompt "Enable Thread-local storage (TLS) support" if TOOLCHAINOPTS
60 default n
61 help
62 Enable Thread-local storage support
63
64 config SJLJ_EXCEPTIONS
65 bool
66 prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
67 default n
68 help
69 Use old setjump()/longjump() exceptions instead of the newer
70 frame unwinding exceptions handling routines. Warning: increases
71 code size and runtime memory usage.
72
73 config INSTALL_LIBSTDCPP
74 bool
75 prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
76 default y
77 help
78 Build/install c++ compiler and libstdc++?
79
80 config INSTALL_LIBGCJ
81 bool
82 depends on !GCC_VERSION_LLVM
83 prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
84 default n
85 help
86 Build/install java compiler and GNU classpath ?
87
88
89 config INSTALL_GFORTRAN
90 bool
91 prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
92 default n
93 help
94 Build/install GNU fortran compiler ?