First git repo commit for the libreCMC project
[librecmc/librecmc.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 choice
4         prompt "GCC compiler Version" if TOOLCHAINOPTS
5         default GCC_USE_VERSION_4_8_ARC if arc
6         default GCC_USE_VERSION_5
7         help
8           Select the version of gcc you wish to use.
9
10         config GCC_USE_VERSION_4_8_ARC
11                 select GCC_VERSION_4_8_ARC
12                 bool "gcc 4.8.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_6
20                 bool "gcc 6.x"
21                 depends on !arc
22
23 endchoice
24
25 config GCC_USE_GRAPHITE
26         bool
27         prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
28
29 config GCC_USE_SYSTEM_PPL_CLOOG
30         bool
31         prompt "Use the system versions of PPL and CLooG"
32         depends on GCC_USE_GRAPHITE && GCC_VERSION_4_8
33         default n
34
35 config EXTRA_GCC_CONFIG_OPTIONS
36         string
37         prompt "Additional gcc configure options" if TOOLCHAINOPTS
38         default ""
39         help
40             Any additional gcc options you may want to include....
41
42 config SSP_SUPPORT
43         bool
44         prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
45         depends on !USE_MUSL
46         default y if !USE_MUSL
47         help
48             Enable Stack-Smashing Protection support
49
50 config SJLJ_EXCEPTIONS
51         bool
52         prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
53         default n
54         help
55             Use old setjump()/longjump() exceptions instead of the newer
56             frame unwinding exceptions handling routines.  Warning: increases
57             code size and runtime memory usage.
58
59 config INSTALL_LIBGCJ
60         bool
61         prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
62         default n
63         help
64             Build/install java compiler and GNU classpath ?
65
66
67 config INSTALL_GFORTRAN
68         bool
69         prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
70         default n
71         help
72             Build/install GNU fortran compiler ?
73
74 config INSTALL_GCCGO
75         bool
76         prompt "Build/install Go compiler?" if TOOLCHAINOPTS
77         depends on !GCC_VERSION_4_8 && (USE_GLIBC || BROKEN)
78         default n
79         help
80             Build/install GNU gccgo compiler ?