This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
PowerPC Cross compailer
- From: Shulov Leonid <lshulov at arabellasw dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 28 Jul 2003 17:13:08 +0300
- Subject: PowerPC Cross compailer
Then compile glibc-2.3.2 with PowerPC cross compiler i bring errors.
Script configuration:
CC=powerpc-linux-gcc ../../glibc-2.3.2/configure \
--build=i686-pc-linux-gnu --host=powerpc-linux \
--prefix=/opt/Arabella/powerpc-linux --enable-add-ons \
--with-headers=/home/GNU/kernel-2.4.21/include
MAKE with errors:
powerpc-linux-gcc
../sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S -c
-I../include -I. -I/home/GNU/obj/glibc/stdlib -I.. -I../libio
-I/home/GNU/obj/glibc -I../sysdeps/powerpc/powerpc32/elf
-I../sysdeps/powerpc/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../linuxthreads/sysdeps/unix/sysv/linux/powerpc
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/powerpc/powerpc32
-I../linuxthreads/sysdeps/powerpc
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32/fpu
-I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32
-I../sysdeps/powerpc/soft-fp -I../sysdeps/powerpc/fpu
-I../sysdeps/powerpc -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem
/opt/Arabella/lib/gcc-lib/powerpc-linux/3.3.1/include -isystem
/home/GNU/kernel-2.4.21/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h -DASSEMBLER -Wa,-mppc -g -o
/home/GNU/obj/glibc/stdlib/getcontext.o -MD -MP -MF
/home/GNU/obj/glibc/stdlib/getcontext.o.dt
In file included from
../sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:23:
/home/GNU/kernel-2.4.21/include/asm/ptrace.h:93:24: asm/offset.h: No
such file or directory
make[2]: *** [/home/GNU/obj/glibc/stdlib/getcontext.o] Error 1
make[2]: Leaving directory `/home/GNU/glibc-2.3.2/stdlib'
make[1]: *** [stdlib/subdir_lib] Error 2
make[1]: Leaving directory `/home/GNU/glibc-2.3.2'
make: *** [all] Error 2
gcc-3.3 from 26.07.03 with diff
glib-2.3.2 from 18.07.03 with diff
Please help me