[toolchain/gcc]: the only reasons for having 4.4 around are avr32 and ubicom32, so...
[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                 depends (avr32 || ubicom32)
13
14         config GCC_VERSION_4_6_1
15                 bool "gcc 4.6.1"
16
17         config GCC_VERSION_LINARO
18                 bool "gcc 4.5.x with Linaro enhancements"
19
20         config GCC_VERSION_LLVM
21                 bool "llvm-gcc 4.2"
22                 depends BROKEN
23
24 endchoice
25
26 config GCC_USE_GRAPHITE
27         bool
28         prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
29         depends !GCC_VERSION_LLVM
30
31 config GCC_USE_SYSTEM_PPL_CLOOG
32         bool
33         prompt "Use the system versions of PPL and CLooG"
34         depends GCC_USE_GRAPHITE
35         default n
36
37 config EXTRA_GCC_CONFIG_OPTIONS
38         string
39         prompt "Additional gcc configure options" if TOOLCHAINOPTS
40         default ""
41         help
42             Any additional gcc options you may want to include....
43
44 config SSP_SUPPORT
45         bool
46         prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
47         default n
48         help
49             Enable Stack-Smashing Protection support
50
51 config TLS_SUPPORT
52         bool
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 ?