5ac93217f8a59bf2f36713b164021257617b58b2
[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
22 config GCC_USE_VERSION_11
23 bool "gcc 11.x"
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
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 GCC_DEFAULT_PIE
38 bool
39 prompt "Build executable with PIE enabled by default" if TOOLCHAINOPTS
40 default n
41 help
42 Use gcc configure option --enable-default-pie to turn on -fPIE and -pie by default.
43
44 config GCC_DEFAULT_SSP
45 bool
46 prompt "Build executable with Stack-Smashing Protection enabled by default" if TOOLCHAINOPTS
47 default n
48 help
49 Use gcc configure option --enable-default-ssp to turn on -fstack-protector-strong by default.
50
51 config SJLJ_EXCEPTIONS
52 bool
53 prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
54 default n
55 help
56 Use old setjump()/longjump() exceptions instead of the newer
57 frame unwinding exceptions handling routines. Warning: increases
58 code size and runtime memory usage.
59
60 config INSTALL_GFORTRAN
61 bool
62 prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
63 default n
64 help
65 Build/install GNU fortran compiler ?
66
67 config INSTALL_GCCGO
68 bool
69 prompt "Build/install Go compiler?" if TOOLCHAINOPTS
70 depends on USE_GLIBC || BROKEN
71 default n
72 help
73 Build/install GNU gccgo compiler ?