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