0621641e7859eb8bfc361f316e7f2bf2663ee091
[openwrt.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 choice
4         prompt "GCC compiler Version" if TOOLCHAINOPTS
5         default GCC_USE_VERSION_5 if TARGET_octeon
6         default GCC_USE_VERSION_4_8_ARC if arc
7         default GCC_USE_VERSION_4_8_LINARO
8         help
9           Select the version of gcc you wish to use.
10
11         config GCC_USE_VERSION_4_6_LINARO
12                 select GCC_VERSION_4_6_LINARO
13                 bool "gcc 4.6.x with Linaro enhancements"
14                 depends on !arc
15
16         config GCC_USE_VERSION_4_8_LINARO
17                 select GCC_VERSION_4_8_LINARO
18                 bool "gcc 4.8.x with Linaro enhancements"
19                 depends on !arc
20
21         config GCC_USE_VERSION_4_8_ARC
22                 select GCC_VERSION_4_8_ARC
23                 bool "gcc 4.8.x with support of ARC cores"
24                 depends on arc
25
26         config GCC_USE_VERSION_5
27                 select GCC_VERSION_5
28                 bool "gcc 5.x"
29                 depends on !arc
30
31 endchoice
32
33 config GCC_USE_GRAPHITE
34         bool
35         prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
36
37 config GCC_USE_SYSTEM_PPL_CLOOG
38         bool
39         prompt "Use the system versions of PPL and CLooG"
40         depends on 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         depends on !USE_MUSL
54         default y if !USE_MUSL
55         help
56             Enable Stack-Smashing Protection 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_LIBGCJ
68         bool
69         prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
70         default n
71         help
72             Build/install java compiler and GNU classpath ?
73
74
75 config INSTALL_GFORTRAN
76         bool
77         prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
78         default n
79         help
80             Build/install GNU fortran compiler ?