GLibC cross compile for ppc-linux
oliver.amft at ch.abb.com
oliver.amft at ch.abb.com
Mon Jul 17 18:39:25 EST 2000
Hi all,
i'm trying to build the glibc 2.1.3 on a i686-linux machine for a powerpc-linux
embedded target. The make command works fine (...no errors) but somehow "make
check" stops in the "stdlib tests" part when it is invoking the "isomac" command
for the first time (after compiling it):
/var/powerpc-linux/obj/glibc-2.1.3/stdlib/isomac 'powerpc-linux-gcc'
'-I../include -I.. -I/var/powerpc-linux/obj/glibc-2.1.3 -I../sysdeps/powerpc/elf
-I../crypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc
-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
-I../sysdeps/posix -I../sysdeps/powerpc -I../sysdeps/wordsize-32
-I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic'
> /var/powerpc-linux/obj/glibc-2.1.3/stdlib/isomac.out
make[2]: *** [tests] Error 1
make[2]: Leaving directory `/var/powerpc-linux/src/glibc-2.1.3/stdlib'
make[1]: *** [stdlib/tests] Error 2
make[1]: Leaving directory `/var/powerpc-linux/src/glibc-2.1.3'
make: *** [check] Error 2
The isomac.out file contains the lines:
Tested files:
assert.h
ctype.h
errno.h
system() returned nonzero
float.h
iso646.h
limits.h
locale.h
math.h
setjmp.h
signal.h
stdarg.h
stddef.h
stdio.h
stdlib.h
string.h
time.h
wchar.h
wctype.h
I'm not sure what "isomac" does, but somehow it is intend to find "illegal macro
definitions" in header files.
Does anyone has an idea how to fix this?
Oliver.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list