gcc 4.6: port over the missing patch 850-use_shared_libgcc.patch to prevent libgcc...
[15.05/openwrt.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 choice
4         prompt "GCC compiler Version" if TOOLCHAINOPTS
5         default GCC_VERSION_4_4_6 if GCC_DEFAULT_VERSION_4_4_6
6         default GCC_VERSION_4_6_LINARO
7         help
8           Select the version of gcc you wish to use.
9
10         config GCC_VERSION_4_4_6
11                 bool "gcc 4.4.6"
12                 depends (avr32 || ubicom32)
13
14         config GCC_VERSION_4_6_2
15                 bool "gcc 4.6.2"
16
17         config GCC_VERSION_4_5_LINARO
18                 bool "gcc 4.5.x with Linaro enhancements"
19
20         config GCC_VERSION_4_6_LINARO
21                 bool "gcc 4.6.x with Linaro enhancements"
22
23         config GCC_VERSION_LLVM
24                 bool "llvm-gcc 4.2"
25                 depends BROKEN
26
27 endchoice
28
29 config GCC_USE_GRAPHITE
30         bool
31         prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
32         depends !GCC_VERSION_LLVM
33
34 config GCC_USE_SYSTEM_PPL_CLOOG
35         bool
36         prompt "Use the system versions of PPL and CLooG"
37         depends GCC_USE_GRAPHITE
38         default n
39
40 config EXTRA_GCC_CONFIG_OPTIONS
41         string
42         prompt "Additional gcc configure options" if TOOLCHAINOPTS
43         default ""
44         help
45             Any additional gcc options you may want to include....
46
47 config SSP_SUPPORT
48         bool
49         prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
50         default n
51         help
52             Enable Stack-Smashing Protection support
53
54 config TLS_SUPPORT
55         bool
56         prompt "Enable Thread-local storage (TLS) support" if TOOLCHAINOPTS
57         default n
58         help
59             Enable Thread-local storage support
60
61 config SJLJ_EXCEPTIONS
62         bool
63         prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
64         default n
65         help
66             Use old setjump()/longjump() exceptions instead of the newer
67             frame unwinding exceptions handling routines.  Warning: increases
68             code size and runtime memory usage.
69
70 config INSTALL_LIBSTDCPP
71         bool
72         prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
73         default y
74         help
75             Build/install c++ compiler and libstdc++?
76
77 config INSTALL_LIBGCJ
78         bool
79         depends on !GCC_VERSION_LLVM
80         prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
81         default n
82         help
83             Build/install java compiler and GNU classpath ?
84
85
86 config INSTALL_GFORTRAN
87         bool
88         prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
89         default n
90         help
91             Build/install GNU fortran compiler ?