simplify configuration
[openwrt/openwrt.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_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
13 config GCC_VERSION_4_6_1
14 bool "gcc 4.6.1"
15
16 config GCC_VERSION_LINARO
17 bool "gcc 4.5.x with Linaro enhancements"
18
19 config GCC_VERSION_LLVM
20 bool "llvm-gcc 4.2"
21 depends BROKEN
22
23 endchoice
24
25 config GCC_USE_GRAPHITE
26 bool
27 prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
28 depends !GCC_VERSION_LLVM
29
30 config GCC_USE_SYSTEM_PPL_CLOOG
31 bool
32 prompt "Use the system versions of PPL and CLooG"
33 depends GCC_USE_GRAPHITE
34 default n
35
36 config EXTRA_GCC_CONFIG_OPTIONS
37 string
38 prompt "Additional gcc configure options" if TOOLCHAINOPTS
39 default ""
40 help
41 Any additional gcc options you may want to include....
42
43 config SSP_SUPPORT
44 bool
45 prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
46 default n
47 help
48 Enable Stack-Smashing Protection support
49
50 config TLS_SUPPORT
51 bool
52 depends UCLIBC_VERSION_NPTL
53 prompt "Enable Thread-local storage (TLS) support" if TOOLCHAINOPTS
54 default n
55 help
56 Enable Thread-local storage support
57
58 config SJLJ_EXCEPTIONS
59 bool
60 prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
61 default n
62 help
63 Use old setjump()/longjump() exceptions instead of the newer
64 frame unwinding exceptions handling routines. Warning: increases
65 code size and runtime memory usage.
66
67 config INSTALL_LIBSTDCPP
68 bool
69 prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
70 default y
71 help
72 Build/install c++ compiler and libstdc++?
73
74 config INSTALL_LIBGCJ
75 bool
76 depends on !GCC_VERSION_LLVM
77 prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
78 default n
79 help
80 Build/install java compiler and GNU classpath ?
81
82
83 config INSTALL_GFORTRAN
84 bool
85 prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
86 default n
87 help
88 Build/install GNU fortran compiler ?