1 # Companion libraries config options
2 # Those libraries are required for different versions of gcc,
3 # and can be used by binutils and gdb (maybe others as well).
5 menu "Companion libraries"
7 comment "FIXME: check real dependencies!!!"
21 gcc 4.3.0 and above requires GMP to build some frontends, and some
22 other components can use them as well.
24 This will be automatically selected if you choose gcc>=4.3.0, but you
25 can say 'Y' here if you want to build this library for the other
26 components (that don't select them by default).
28 The packages that can use GMP and MPFR are:
38 gcc 4.3.0 and above requires MPFR to build some frontends, and some
39 other components can use them as well.
41 This will be automatically selected if you choose gcc>=4.3.0, but you
42 can say 'Y' here if you want to build this library for the other
43 components (that don't select them by default).
45 The packages that can use GMP and MPFR are:
56 gcc-4.4.0 and above requires PPL to build some parts of the optimiser
57 (the GRAPHITE loop optimisation, to be precise).
59 This will be automatically selected if you choose gcc>=4.4.0, but you
60 can say 'Y' here, although it is unknown yet if any other component
70 gcc-4.4.0 and above requires CLooG/PPL to build some parts of the
71 optimiser (the GRAPHITE loop optimisation, to be precise).
73 This will be automatically selected if you choose gcc>=4.4.0, but you
74 can say 'Y' here, although it is unknown yet if any other component
85 gcc-4.4.0 and above can also optionally use MPC to enable additional
86 optimisations on complex numbers. Although MPC is optional,
87 crosstool-NG requires it and uses it to build gcc >= 4.4.0.
89 This will be automatically selected if you choose gcc>=4.4.0, but you
90 can say 'Y' here, although it is unknown yet if any other component
97 gcc-4.5.0 and above can also use libelf to enable some optimisation
98 (LTO, Link-Time Optimisation, to be precise). Although libelf is
99 optional, crosstool-NG requires it and uses it to build gcc >= 4.5.0.
101 This will be automatically selected if you choose gcc>=4.5.0, but you
102 can say 'Y' here, although it is unknown yet if any other component
109 source "config/companion_libs/gmp.in"
112 source "config/companion_libs/mpfr.in"
115 source "config/companion_libs/ppl.in"
118 source "config/companion_libs/cloog.in"
121 source "config/companion_libs/mpc.in"
123 if LIBELF || LIBELF_TARGET
124 comment "libelf version needed to build for target"
126 source "config/companion_libs/libelf.in"
134 comment "Companion libraries common options"
136 config COMPLIBS_CHECK
138 prompt "Check the companion libraries builds (!!! READ HELP!!!)"
141 It is highly recommended to check the newly built companion libraries.
142 Unfortunately, this is a very intensive task, and takes a loooong time.
144 Checking the newly built companion libraries is thus disabled by default,
145 but it is suggested that you check them at least once on your machine,
146 and if they work, disable the check on subsequent builds.
148 If you suspect that one (or more) of your companion libraries is the
149 cause for incorrectly generated code, you should answer 'Y' here.
150 Note however that this will take a really long time. For example,
151 building PPL on my machine takes roughly 1'40", while checking it takes
154 config COMPLIBS_SHARED
156 prompt "Build shared companion libraries"
159 select WRAPPER_NEEDED
161 By default, the companion libraries will be build static. If you want to
162 build shared libraries, then you can say 'Y' here, but a wrapper will be
163 needed (see docs/overview.txt,section "Tools wrapper").
165 It is highly recommended that you keep static libraries.
169 prompt "| Install tools wrapper as:"
170 depends on WRAPPER_NEEDED
171 default TOOLS_WRAPPER_SHELL
173 config TOOLS_WRAPPER_SCRIPT
175 prompt "shell script"
177 If your host has a shell, then you should say 'Y' here, to use
178 a (very very simple) shell script as wrapper.
180 See docs/overview.txt, section "Tools wrapper".
182 config TOOLS_WRAPPER_EXEC
186 If your host lacks a shell, then you should say 'Y' here, to use
189 See docs/overview.txt, section "Tools wrapper".
195 default "script" if TOOLS_WRAPPER_SCRIPT
196 default "exec" if TOOLS_WRAPPER_EXEC