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!!!"
18 gcc 4.3.0 and above requires GMP to build some frontends, and some
19 other components can use them as well.
21 This will be automatically selected if you choose gcc>=4.3.0, but you
22 can say 'Y' here if you want to build this library for the other
23 components (that don't select them by default).
25 The packages that can use GMP and MPFR are:
36 gcc 4.3.0 and above requires MPFR to build some frontends, and some
37 other components can use them as well.
39 This will be automatically selected if you choose gcc>=4.3.0, but you
40 can say 'Y' here if you want to build this library for the other
41 components (that don't select them by default).
43 The packages that can use GMP and MPFR are:
55 gcc-4.4.0 and above requires PPL to build some parts of the optimiser
56 (the GRAPHITE loop optimisation, to be precise).
58 This will be automatically selected if you choose gcc>=4.4.0, but you
59 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
86 gcc-4.4.0 and above can also optionally use MPC to enable additional
87 optimisations on complex numbers. Although MPC is optional,
88 crosstool-NG requires it and uses it to build gcc >= 4.4.0.
90 This will be automatically selected if you choose gcc>=4.4.0, but you
91 can say 'Y' here, although it is unknown yet if any other component
95 source config/companion_libs/gmp.in
98 source config/companion_libs/mpfr.in
101 source config/companion_libs/ppl.in
104 source config/companion_libs/cloog.in
107 source config/companion_libs/mpc.in
113 comment "Companion libraries common options"
114 depends on GMP || MPFR || PPL || CLOOG || MPC
116 config COMP_LIBS_CHECK
118 prompt "| Check the companion libraries builds (!!! READ HELP!!!)"
119 depends on GMP || MPFR || PPL || CLOOG || MPC
122 It is highly recommended to check the newly built companion libraries.
123 Unfortunately, this is a very intensive task, and takes a loooong time.
125 Checking the newly built companion libraries is thus disabled by default,
126 but it is suggested that you check them at least once on your machine,
127 and if they work, disable the check on subsequent builds.
129 If you suspect that one (or more) of your companion libraries is the
130 cause for incorrectly generated code, you should answer 'Y' here.
131 Note however that this will take a really long time. For example,
132 building PPL on my machine takes roughly 1'40", while checking it takes
135 config COMP_LIBS_TARGET
137 prompt "| Build companion libraries for the target"
138 depends on GMP || MPFR || PPL || CLOOG || MPC
139 depends on ! BARE_METAL
142 Also build companion libraries for the target. This can be usefull if
143 you want to later build a compiler that will run on the target, or if
144 you want to run gdb natively on the target.
146 Please note that for now, crosstool-NG can only build GMP and MPFR so.
150 prompt "| Install tools wrapper as:"
151 depends on WRAPPER_NEEDED
152 default TOOLS_WRAPPER_SHELL
154 config TOOLS_WRAPPER_SCRIPT
156 prompt "shell script"
158 If your host has a shell, then you should say 'Y' here, to use
159 a (very very simple) shell script as wrapper.
161 See docs/overview.txt, section "Tools wrapper".
163 config TOOLS_WRAPPER_EXEC
167 If your host lacks a shell, then you should say 'Y' here, to use
170 See docs/overview.txt, section "Tools wrapper".
176 default "script" if TOOLS_WRAPPER_SCRIPT
177 default "exec" if TOOLS_WRAPPER_EXEC