yann@1318
|
1 |
# Companion libraries config options
|
yann@1318
|
2 |
# Those libraries are required for different versions of gcc,
|
yann@1318
|
3 |
# and can be used by binutils and gdb (maybe others as well).
|
yann@602
|
4 |
|
yann@1318
|
5 |
menu "Companion libraries"
|
yann@602
|
6 |
|
yann@602
|
7 |
config GMP_MPFR
|
yann@602
|
8 |
bool
|
yann@602
|
9 |
prompt "GMP and MPFR"
|
yann@602
|
10 |
help
|
yann@1318
|
11 |
gcc 4.3.0 and above requires both GMP and MPFR to build some frontends,
|
yann@1324
|
12 |
and some other components can use them as well.
|
yann@1318
|
13 |
|
yann@1324
|
14 |
These will be automatically selected if you choose gcc>=4.3.0, but you
|
yann@1324
|
15 |
can say 'Y' here if you want to build those two libraries for the other
|
yann@1324
|
16 |
components (that don't select them by default).
|
yann@1318
|
17 |
|
yann@602
|
18 |
The packages that can use GMP and MPFR are:
|
yann@602
|
19 |
- binutils
|
yann@602
|
20 |
- gcc
|
yann@602
|
21 |
- gdb
|
yann@602
|
22 |
|
yann@602
|
23 |
config GMP_MPFR_TARGET
|
yann@602
|
24 |
bool
|
yann@602
|
25 |
prompt "Build libraries for the target"
|
yann@602
|
26 |
depends on GMP_MPFR
|
yann@850
|
27 |
depends on ! BARE_METAL
|
yann@602
|
28 |
default n
|
yann@602
|
29 |
help
|
yann@602
|
30 |
Also build libraries for the target. This can be usefull if you want
|
yann@602
|
31 |
to later build a compiler that will run on the target, or if you want
|
yann@602
|
32 |
to run gdb natively on the target.
|
yann@602
|
33 |
|
yann@602
|
34 |
if GMP_MPFR
|
yann@1318
|
35 |
source config/companion_libs/gmp.in
|
yann@1318
|
36 |
source config/companion_libs/mpfr.in
|
yann@602
|
37 |
endif
|
yann@602
|
38 |
|
yann@1384
|
39 |
config PPL_CLOOG_MPC
|
yann@1324
|
40 |
bool
|
yann@1384
|
41 |
prompt "PPL, GLooG/PPL and MPC"
|
yann@1324
|
42 |
help
|
yann@1384
|
43 |
gcc-4.4.0 and above requires PPL and CLooG/PPL to build some parts
|
yann@1384
|
44 |
of the optimiser (GRAPHITE loop optimisation, to be precise).
|
yann@1384
|
45 |
|
yann@1384
|
46 |
In addition to those, gcc-4.4 also optionally uses MPC to enable
|
yann@1384
|
47 |
additional optimisations on complex numbers. Although MPC is optional,
|
yann@1384
|
48 |
crosstool-NG requires it and uses it to build gcc >= 4.4.0.
|
yann@1324
|
49 |
|
yann@1324
|
50 |
These will be automatically selected if you choose gcc>=4.4.0, but you
|
yann@1324
|
51 |
can say 'Y' here, although it is unknown yet if any other component
|
yann@1324
|
52 |
can use them.
|
yann@1324
|
53 |
|
yann@1384
|
54 |
if PPL_CLOOG_MPC
|
yann@1324
|
55 |
source config/companion_libs/ppl.in
|
yann@1380
|
56 |
source config/companion_libs/cloog.in
|
yann@1384
|
57 |
source config/companion_libs/mpc.in
|
yann@1324
|
58 |
endif
|
yann@1324
|
59 |
|
yann@602
|
60 |
endmenu
|