1# Choose gcc version.
2
3choice
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		select GCC_VERSION_5
17		bool "gcc 5.x"
18		depends on !arc
19
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 GCC_USE_SYSTEM_PPL_CLOOG
27	bool
28	prompt "Use the system versions of PPL and CLooG"
29	depends on GCC_USE_GRAPHITE && GCC_VERSION_4_8
30	default n
31
32config 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
39config SSP_SUPPORT
40	bool
41	prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
42	depends on !USE_MUSL
43	default y if !USE_MUSL
44	help
45	    Enable Stack-Smashing Protection support
46
47config SJLJ_EXCEPTIONS
48	bool
49	prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
50	default n
51	help
52	    Use old setjump()/longjump() exceptions instead of the newer
53	    frame unwinding exceptions handling routines.  Warning: increases
54	    code size and runtime memory usage.
55
56config INSTALL_LIBGCJ
57	bool
58	prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
59	default n
60	help
61	    Build/install java compiler and GNU classpath ?
62
63
64config INSTALL_GFORTRAN
65	bool
66	prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
67	default n
68	help
69	    Build/install GNU fortran compiler ?
70