This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
powerpc cross compilier - glibc
- From: Peter Grössinger <groessinger at tttech dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 20 Mar 2002 01:34:16 +0100 (CET)
- Subject: powerpc cross compilier - glibc
Hello !
I am a newbie to building a GCC.
I am trying to build a cross compiler for power pc 855. My host platform
is i686-pc-linux-gnu.
I am using
Kernel 2.4.16
BINUTILS=binutils-2.11.2
GCC=gcc-2.95.2
GLIBC=glibc-2.2.4
The binutils get compiled fine as well as the stage1 gcc. I encounter
troubles when building the glibs.
When reaching
powerpc-linux-gcc ../sysdeps/unix/sysv/linux/profil.c
I get the following error message :
In file included from
../sysdeps/unix/sysv/linux/powerpc/profil-counter.h:2,
from ../sysdeps/posix/profil.c:54,
from ../sysdeps/unix/sysv/linux/profil.c:3:
../sysdeps/unix/sysv/linux/i386/profil-counter.h: In function
`profil_counter':
../sysdeps/unix/sysv/linux/i386/profil-counter.h:26: structure has no
member named `regs'
../sysdeps/posix/profil.c:39: warning: inlining failed in call to
`profil_count'
../sysdeps/unix/sysv/linux/i386/profil-counter.h:26: warning: called from
here
make[2]: *** [/root/crossdev/build/glibc-2.2.3-powerpc/gmon/profil.o]
Error 1
make[2]: Leaving directory `/root/pristine/glibc-2.2.3/gmon'
make[1]: *** [gmon/subdir_lib] Error 2
make[1]: Leaving directory `/root/pristine/glibc-2.2.3'
make: *** [all] Error 2
Any help is very much appreciated ! Thank you very much in advance !
Peter
_____________________________________________________
Peter Groessinger
Software Development
TTTech Computertechnik AG
Schoenbrunner Strasse 7, A-1040 Vienna, Austria
http://www.tttech.com
Phone: +43(1)585 34 34-42, Fax: +43(1)585 34 34-90
mailto: groessinger@tttech.com
_____________________________________________________