building cross i386 running on osx ( powerpc )

dirk66@mac.com dirk66@mac.com
Sat Jul 20 12:42:00 GMT 2002


I built binutils 2.12.1 without problems.

I downloaded gcc-3.1

run configure like :
../gcc-3.1/configure --target=i386-pc-linux --without-headers

I added : -save-temps to CFLAGS

now I get stuck at this point :
( I think fixincludes needs to "fix" these header files as well )
All help welcome,

Dirk

/bin/sh ../../gcc-3.1/gcc/mkconfig.sh tconfig.h
/Users/schelfd/gccObj/gcc/xgcc -B/Users/schelfd/gccObj/gcc/ -B/usr/local/i386-pc-linux/bin/ -B/usr/local/i386-pc-linux/lib/ -isystem /usr/local/i386-pc-linux/include -O2 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I../../gcc-3.1/gcc -I../../gcc-3.1/gcc/. -I../../gcc-3.1/gcc/config -I../../gcc-3.1/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-omit-frame-pointer \
    -c ../../gcc-3.1/gcc/crtstuff.c -DCRT_BEGIN \
   -o crtbegin.o
In file included from ../../gcc-3.1/gcc/crtstuff.c:62:
../../gcc-3.1/gcc/tsystem.h:63:19: stdio.h: No such file or directory
../../gcc-3.1/gcc/tsystem.h:66:23: sys/types.h: No such file or directory
../../gcc-3.1/gcc/tsystem.h:69:19: errno.h: No such file or directory
../../gcc-3.1/gcc/tsystem.h:76:20: string.h: No such file or directory
../../gcc-3.1/gcc/tsystem.h:80:20: stdlib.h: No such file or directory
../../gcc-3.1/gcc/tsystem.h:81:20: unistd.h: No such file or directory
../../gcc-3.1/gcc/tsystem.h:87:18: time.h: No such file or directory
make[1]: *** [crtbegin.o] Error 1
make: *** [all-gcc] Error 2



More information about the Gcc-help mailing list