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