toolchain/gcc: add GCC 8.1.0
[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_7_1_ARC if arc
6 default GCC_USE_VERSION_7
7 help
8 Select the version of gcc you wish to use.
9
10 config GCC_USE_VERSION_7_1_ARC
11 select GCC_VERSION_7_1_ARC
12 bool "gcc 7.1.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_7
20 bool "gcc 7.x"
21 depends on !arc
22
23 config GCC_USE_VERSION_8
24 bool "gcc 8.x"
25 depends on !arc
26 endchoice
27
28 config GCC_USE_GRAPHITE
29 bool
30 prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
31
32 config EXTRA_GCC_CONFIG_OPTIONS
33 string
34 prompt "Additional gcc configure options" if TOOLCHAINOPTS
35 default ""
36 help
37 Any additional gcc options you may want to include....
38
39 config GCC_DEFAULT_PIE
40 bool
41 prompt "Build executable with PIE enabled by default" if TOOLCHAINOPTS
42 depends on !GCC_USE_VERSION_5
43 default n
44 help
45 Use gcc configure option --enable-default-pie to turn on -fPIE and -pie by default.
46
47 config GCC_DEFAULT_SSP
48 bool
49 prompt "Build executable with Stack-Smashing Protection enabled by default" if TOOLCHAINOPTS
50 default n
51 help
52 Use gcc configure option --enable-default-ssp to turn on -fstack-protector-strong by default.
53
54 config GCC_LIBSSP
55 bool
56 prompt "Build gcc libssp" if TOOLCHAINOPTS
57 depends on !USE_MUSL
58 default y if !USE_MUSL
59 help
60 Enable Stack-Smashing Protection support
61
62 config SJLJ_EXCEPTIONS
63 bool
64 prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
65 default n
66 help
67 Use old setjump()/longjump() exceptions instead of the newer
68 frame unwinding exceptions handling routines. Warning: increases
69 code size and runtime memory usage.
70
71 config INSTALL_GFORTRAN
72 bool
73 prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
74 default n
75 help
76 Build/install GNU fortran compiler ?
77
78 config INSTALL_GCCGO
79 bool
80 prompt "Build/install Go compiler?" if TOOLCHAINOPTS
81 depends on USE_GLIBC || BROKEN
82 default n
83 help
84 Build/install GNU gccgo compiler ?