config/gmp_mpfr.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Oct 14 17:42:10 2008 +0000 (2008-10-14)
changeset 929 7c958fb04f28
parent 634 c74132339c44
permissions -rw-r--r--
Sample config for e500v2 toolchain

On Tuesday 14 October 2008 17:05:31 Nate Case wrote:
> This is a sample config file for Freescale e500v2 processors (e.g.,
> MPC8548, MPC8572). It uses eglibc (for e500/SPE patches) and a recent
> gcc (4.3.1, for e500v2 DPFP support) and will generate appropriate
> dual-precision floating point instructions by default.
>
> Note: If building a Linux kernel with this toolchain, you will want to
> make sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE
> ABI/instructions from getting into the kernel (which is currently
> unsupported). At this time, the kernel build system only passes
> -mno-spe by default (this should be fixed soon hopefully).
>
> A binutils snapshot is used to fix a bug present in 2.18 preventing
> U-Boot from being compiled (CodeSourcery issue #2297: internal.h
> (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with segments at the end of
> memory).

Obsoletes the powerpc-unknown-linux-gnuspe sample, so remove it.

/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 307 307 0 0 +++++++++++++++++++
1 file changed, 307 insertions(+)
yann@602
     1
# GMP and MPFR libraries config options
yann@602
     2
yann@602
     3
menu "GMP and MPFR"
yann@602
     4
yann@602
     5
config GMP_MPFR
yann@602
     6
    bool
yann@602
     7
    prompt "GMP and MPFR"
yann@602
     8
    help
yann@602
     9
      Recent gcc needs both GMP and MPFR to build some frontends.
yann@602
    10
yann@602
    11
      Say 'Y' here if you want to build those two libraries specifically
yann@602
    12
      for crosstool-NG.
yann@602
    13
yann@602
    14
      The packages that can use GMP and MPFR are:
yann@602
    15
        - binutils
yann@602
    16
        - gcc
yann@602
    17
        - gdb
yann@602
    18
yann@602
    19
config GMP_MPFR_TARGET
yann@602
    20
    bool
yann@602
    21
    prompt "Build libraries for the target"
yann@602
    22
    depends on GMP_MPFR
yann@850
    23
    depends on ! BARE_METAL
yann@602
    24
    default n
yann@602
    25
    help
yann@602
    26
      Also build libraries for the target. This can be usefull if you want
yann@602
    27
      to later build a compiler that will run on the target, or if you want
yann@602
    28
      to run gdb natively on the target.
yann@602
    29
yann@602
    30
if GMP_MPFR
yann@634
    31
source config/gmp_mpfr/gmp.in
yann@634
    32
source config/gmp_mpfr/mpfr.in
yann@602
    33
endif
yann@602
    34
yann@602
    35
endmenu