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