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"
11 gcc 4.3.0 and above requires both GMP and MPFR to build some frontends,
12 and some other components can use them as well.
14 These will be automatically selected if you choose gcc>=4.3.0, but you
15 can say 'Y' here if you want to build those two libraries for the other
16 components (that don't select them by default).
18 The packages that can use GMP and MPFR are:
24 source config/companion_libs/gmp.in
25 source config/companion_libs/mpfr.in
30 prompt "PPL, GLooG/PPL and MPC"
32 gcc-4.4.0 and above requires PPL and CLooG/PPL to build some parts
33 of the optimiser (GRAPHITE loop optimisation, to be precise).
35 In addition to those, gcc-4.4 also optionally uses MPC to enable
36 additional optimisations on complex numbers. Although MPC is optional,
37 crosstool-NG requires it and uses it to build gcc >= 4.4.0.
39 These will be automatically selected if you choose gcc>=4.4.0, but you
40 can say 'Y' here, although it is unknown yet if any other component
44 source config/companion_libs/ppl.in
45 source config/companion_libs/cloog.in
46 source config/companion_libs/mpc.in
52 comment "Companion libraries common options"
53 depends on GMP_MPFR || PPL_CLOOG_MPC
55 config COMP_LIBS_CHECK
57 prompt "| Check the companion libraries builds (!!! READ HELP!!!)"
58 depends on GMP_MPFR || PPL_CLOOG_MPC
61 It is highly recommended to check the newly built companion libraries.
62 Unfortunately, this is a very intensive task, and takes a loooong time.
64 Checking the newly built companion libraries is thus disabled by default,
65 but it is suggested that you check them at least once on your machine,
66 and if they work, disable the check on subsequent builds.
68 If you suspect that one (or more) of your companion libraries is the
69 cause for incorrectly generated code, you should answer 'Y' here.
70 Note however that this will take a really long time. For example,
71 building PPL on my machine takes roughly 1'40", while checking it takes
74 config COMP_LIBS_TARGET
76 prompt "| Build companion libraries for the target"
77 depends on GMP_MPFR || PPL_CLOOG_MPC
78 depends on ! BARE_METAL
81 Also build companion libraries for the target. This can be usefull if
82 you want to later build a compiler that will run on the target, or if
83 you want to run gdb natively on the target.
85 Please note that for now, crosstool-NG can only build GMP and MPFR so.