f0fc31d567cc2de8ddf141eabae278724f197c09
[openwrt/staging/chunkeey.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 choice
4 prompt "GCC compiler Version" if TOOLCHAINOPTS
5 default GCC_USE_VERSION_8
6 help
7 Select the version of gcc you wish to use.
8
9 config GCC_USE_VERSION_7
10 bool "gcc 7.x"
11 depends on !arc
12
13 config GCC_USE_VERSION_8
14 bool "gcc 8.x"
15
16 config GCC_USE_VERSION_9
17 bool "gcc 9.x"
18
19 config GCC_USE_VERSION_10
20 bool "gcc 10.x"
21 endchoice
22
23 config GCC_USE_GRAPHITE
24 bool
25 prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
26
27 config EXTRA_GCC_CONFIG_OPTIONS
28 string
29 prompt "Additional gcc configure options" if TOOLCHAINOPTS
30 default ""
31 help
32 Any additional gcc options you may want to include....
33
34 config GCC_DEFAULT_PIE
35 bool
36 prompt "Build executable with PIE enabled by default" if TOOLCHAINOPTS
37 default n
38 help
39 Use gcc configure option --enable-default-pie to turn on -fPIE and -pie by default.
40
41 config GCC_DEFAULT_SSP
42 bool
43 prompt "Build executable with Stack-Smashing Protection enabled by default" if TOOLCHAINOPTS
44 default n
45 help
46 Use gcc configure option --enable-default-ssp to turn on -fstack-protector-strong by default.
47
48 config SJLJ_EXCEPTIONS
49 bool
50 prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
51 default n
52 help
53 Use old setjump()/longjump() exceptions instead of the newer
54 frame unwinding exceptions handling routines. Warning: increases
55 code size and runtime memory usage.
56
57 config INSTALL_GFORTRAN
58 bool
59 prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
60 default n
61 help
62 Build/install GNU fortran compiler ?
63
64 config INSTALL_GCCGO
65 bool
66 prompt "Build/install Go compiler?" if TOOLCHAINOPTS
67 depends on USE_GLIBC || BROKEN
68 default n
69 help
70 Build/install GNU gccgo compiler ?