[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Cross Compiling for arm-linux



Hi,
someone out there who is developing for an ipaq using debian-ppc.
I have problems with compiling glibc with my cross-compiler.
The error msg is as follows:

make[1]: Entering directory `/data/src/glibc-2.2.2/stdlib'
arm-linux-gcc ../sysdeps/generic/strtoll.c -c -O2 -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -g   -fPIC    -I../include -I.  -I..
-I../libio  -I../sysdeps/arm/elf
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm
-I../sysdeps/unix/sysv/linux/arm -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/arm
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/fpu
-I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic   -D_LIBC_REENTRANT
-include ../include/libc-symbols.h  -DPIC -DSHARED   -o strtoll.os
../sysdeps/generic/strtoll.c:28: parse error before `...'
make[1]: *** [strtoll.os] Error 1

I followed the instructions described at 
http://www.handhelds.org/z/wiki/HOWTO Build a Cross Toolchain in Brief
They are using x86, but normaly if i replace the
--build=i386-pc-linux-gnu to
--build=powerpc-unknown-linux-gnu there should be no problem.
Some hints ?

-- 
arne



Reply to: