Toolchain for ppc-440 without FPU
Ayman El-Khashab
AymanE at tanisys.com
Fri Oct 10 08:05:47 EST 2008
I was compiling for the 440FP under cygwin, I believe that I had to use
--enable-long-long when I configured gcc in order to build glibc.
________________________________
From: linuxppc-embedded-bounces+aymane=tanisys.com at ozlabs.org
[mailto:linuxppc-embedded-bounces+aymane=tanisys.com at ozlabs.org] On
Behalf Of Ademir Zanetti Junior
Sent: Thursday, October 09, 2008 2:08 PM
To: linuxppc-embedded at ozlabs.org
Subject: Toolchain for ppc-440 without FPU
Hello all,
I am trying to create a toolchain by hand and I am facing some problems
when I try to configure the glibc 2.7 for a powerpc. When I try to
configure the glibc to install the headers I get the following error:
configure --prefix=/usr --host=powerpc-440-linux-gnu
--with-headers=${SYSROOT}/usr/include --disable-shared --without-cvs
--with-binutils=/home/azanetti/ml507/powerpc/bin/
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/i386/elf
nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386
sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux
nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu
sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet
sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv
sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix
sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686
sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu
nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32
sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32
sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
.
.
.
checking for long double... yes
checking size of long double... 12
running configure fragment for sysdeps/powerpc/powerpc32/elf
checking for powerpc32 TLS support... no
running configure fragment for sysdeps/unix/sysv/linux/powerpc
checking whether gcc -B/home/azanetti/ml507/powerpc/bin/ -g -O2
-mlong-double-128 uses IBM extended format... no
checking whether gcc -B/home/azanetti/ml507/powerpc/bin/ -g -O2 supports
-mabi=ibmlongdouble... no
configure: error: this configuration requires -mlong-double-128 IBM
extended format support
I already have the binutils 2.18 compiled on my PATH. I know that it is
easier to use a script like crosstool to compile it but I do want to
understand what is happening behind the scenes.
Regards.
Ademir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20081009/c91ac7a9/attachment-0001.htm>
More information about the Linuxppc-embedded
mailing list