e94bcc973889f5035a1517c4cd1f3e36cb423051
[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 prompt "Enable Thread-local storage (TLS) support" if TOOLCHAINOPTS
53 default n
54 help
55 Enable Thread-local storage support
56
57 config SJLJ_EXCEPTIONS
58 bool
59 prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
60 default n
61 help
62 Use old setjump()/longjump() exceptions instead of the newer
63 frame unwinding exceptions handling routines. Warning: increases
64 code size and runtime memory usage.
65
66 config INSTALL_LIBSTDCPP
67 bool
68 prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
69 default y
70 help
71 Build/install c++ compiler and libstdc++?
72
73 config INSTALL_LIBGCJ
74 bool
75 depends on !GCC_VERSION_LLVM
76 prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
77 default n
78 help
79 Build/install java compiler and GNU classpath ?
80
81
82 config INSTALL_GFORTRAN
83 bool
84 prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
85 default n
86 help
87 Build/install GNU fortran compiler ?