toolchain: remove separate prepare/ step
[openwrt/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_4_8_ARC if arc
6 default GCC_USE_VERSION_5
7 help
8 Select the version of gcc you wish to use.
9
10 config GCC_USE_VERSION_4_8_ARC
11 select GCC_VERSION_4_8_ARC
12 bool "gcc 4.8.x with support of ARC cores"
13 depends on arc
14
15 config GCC_USE_VERSION_5
16 bool "gcc 5.x"
17 depends on !arc
18
19 config GCC_USE_VERSION_6
20 bool "gcc 6.x"
21 depends on !arc
22
23 endchoice
24
25 config GCC_USE_GRAPHITE
26 depends on !GCC_VERSION_4_8_ARC
27 bool
28 prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
29
30 config EXTRA_GCC_CONFIG_OPTIONS
31 string
32 prompt "Additional gcc configure options" if TOOLCHAINOPTS
33 default ""
34 help
35 Any additional gcc options you may want to include....
36
37 config SSP_SUPPORT
38 bool
39 prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
40 depends on !USE_MUSL
41 default y if !USE_MUSL
42 help
43 Enable Stack-Smashing Protection support
44
45 config SJLJ_EXCEPTIONS
46 bool
47 prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
48 default n
49 help
50 Use old setjump()/longjump() exceptions instead of the newer
51 frame unwinding exceptions handling routines. Warning: increases
52 code size and runtime memory usage.
53
54 config INSTALL_LIBGCJ
55 bool
56 prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
57 default n
58 help
59 Build/install java compiler and GNU classpath ?
60
61
62 config INSTALL_GFORTRAN
63 bool
64 prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
65 default n
66 help
67 Build/install GNU fortran compiler ?
68
69 config INSTALL_GCCGO
70 bool
71 prompt "Build/install Go compiler?" if TOOLCHAINOPTS
72 depends on !GCC_VERSION_4_8 && (USE_GLIBC || BROKEN)
73 default n
74 help
75 Build/install GNU gccgo compiler ?