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