linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Toolchain for ppc-440 without FPU
@ 2008-10-09 19:08 Ademir Zanetti Junior
  2008-10-09 21:05 ` Ayman El-Khashab
  0 siblings, 1 reply; 2+ messages in thread
From: Ademir Zanetti Junior @ 2008-10-09 19:08 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 2405 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2614 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Toolchain for ppc-440 without FPU
  2008-10-09 19:08 Toolchain for ppc-440 without FPU Ademir Zanetti Junior
@ 2008-10-09 21:05 ` Ayman El-Khashab
  0 siblings, 0 replies; 2+ messages in thread
From: Ayman El-Khashab @ 2008-10-09 21:05 UTC (permalink / raw)
  To: Ademir Zanetti Junior, linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 2932 bytes --]

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@ozlabs.org
[mailto:linuxppc-embedded-bounces+aymane=tanisys.com@ozlabs.org] On
Behalf Of Ademir Zanetti Junior
Sent: Thursday, October 09, 2008 2:08 PM
To: linuxppc-embedded@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


[-- Attachment #2: Type: text/html, Size: 3645 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-09 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-09 19:08 Toolchain for ppc-440 without FPU Ademir Zanetti Junior
2008-10-09 21:05 ` Ayman El-Khashab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).