config/companion_libs.in
changeset 1318 5416f4ba36bf
parent 850 ef8549b58b6f
child 1324 48c12c696778
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/companion_libs.in	Sun May 03 21:10:15 2009 +0000
     1.3 @@ -0,0 +1,38 @@
     1.4 +# Companion libraries config options
     1.5 +# Those libraries are required for different versions of gcc,
     1.6 +# and can be used by binutils and gdb (maybe others as well).
     1.7 +
     1.8 +menu "Companion libraries"
     1.9 +
    1.10 +config GMP_MPFR
    1.11 +    bool
    1.12 +    prompt "GMP and MPFR"
    1.13 +    help
    1.14 +      gcc 4.3.0 and above requires both GMP and MPFR to build some frontends,
    1.15 +      and some other components can use them as well (eg. binutils and gdb).
    1.16 +      
    1.17 +      Say 'Y' here if you want to build those two libraries specifically
    1.18 +      for crosstool-NG.
    1.19 +      
    1.20 +      The packages that can use GMP and MPFR are:
    1.21 +        - binutils
    1.22 +        - gcc
    1.23 +        - gdb
    1.24 +
    1.25 +config GMP_MPFR_TARGET
    1.26 +    bool
    1.27 +    prompt "Build libraries for the target"
    1.28 +    depends on GMP_MPFR
    1.29 +    depends on ! BARE_METAL
    1.30 +    default n
    1.31 +    help
    1.32 +      Also build libraries for the target. This can be usefull if you want
    1.33 +      to later build a compiler that will run on the target, or if you want
    1.34 +      to run gdb natively on the target.
    1.35 +
    1.36 +if GMP_MPFR
    1.37 +source config/companion_libs/gmp.in
    1.38 +source config/companion_libs/mpfr.in
    1.39 +endif
    1.40 +
    1.41 +endmenu