This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Cross compiler problem (xgcc does not find standard includes)
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: Cross compiler problem (xgcc does not find standard includes)
- From: Martin Kahlert <martin dot kahlert at mchp dot siemens dot de>
- Date: Wed, 30 Jun 1999 12:33:23 +0200
Hi,
i have this problem:
i configured by
../egcs-19990629/configure --target=i686-pc-mingw32
and built on linux x86 with
make CFLAGS='-O3 -fomit-frame-pointer' LIBCFLAGS='-O3 -fomit-frame-pointer' LIBCXXFLAGS='-O3 -fno-implicit-templates -fomit-frame-pointer' cross
and get this:
/home/kahlert/LOCAL/obj/gcc/xgcc -B/home/kahlert/LOCAL/obj/gcc/
-B/usr/local/i686-pc-mingw32/bin/ -c -DHAVE_CONFIG_H -O3
-fomit-frame-pointer -I. -I../../../egcs-19990629/libiberty/../include
../../../egcs-19990629/libiberty/choose-temp.c
../../../egcs-19990629/libiberty/choose-temp.c:29: stdio.h: No such file or directory
../../../egcs-19990629/libiberty/choose-temp.c:30: sys/types.h: No such file or directory
../../../egcs-19990629/libiberty/choose-temp.c:32: unistd.h: No such file or directory
../../../egcs-19990629/libiberty/choose-temp.c:35: stdlib.h: No such file or directory
../../../egcs-19990629/libiberty/choose-temp.c:38: sys/file.h: No such file or directory
make[2]: *** [choose-temp.o] Error 1
make[2]: Leaving directory `/sw/local_l/kahlert/obj/i686-pc-mingw32/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/sw/local_l/kahlert/obj'
make: *** [cross] Error 2
I assume the headers should be the one for the host. So they should be found in the standard
directories.
What do i make wrong?
Thanks for every hint,
Martin.