This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
building cross i386 running on osx ( powerpc )
- From: dirk66 at mac dot com
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 20 Jul 2002 21:42:12 +0200
- Subject: building cross i386 running on osx ( powerpc )
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