Cross compiling errors

Mon Jun 5 20:14:00 GMT 2000

I'm building a cross compiler with the following configuration:


and I got the following errors when I did the

'gnumake all install' on gcc-2.95.2.

Seems that the dummy.c is a self generated file. What is the use of it ?
Any clue why those header files are not found ?

I'm using gcc-2.95.2 and bootutils-2.9.1

My bootutils-2.9.1 build for the same target was successful. But the
gcc-2.95.2 build for the same target with the same host generated this



checking how to run the C preprocessor... /lib/cpp
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for sys/resource.h... yes
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether the C compiler (/home/cheon/gnu/gcc-2.95.2-obj/gcc/xgcc
-B/home/cheon/gnu/ppc-eabi/powerpc-eabi/bin/ -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
gnumake[1]: Entering directory
if [ x"no" = xyes ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
rootme=`pwd`/ ; export rootme; \
-B/home/cheon/gnu/ppc-eabi/powerpc-eabi/bin/ -I.
-I../../../gcc-2.95.2/libio"; export CC; \
-B/home/cheon/gnu/ppc-eabi/powerpc-eabi/bin/ -I.
-I../../../gcc-2.95.2/libio -nostdinc++ -nostdinc++ -g -O2"; export CXX;
CONFIG_NM="powerpc-eabi-nm"; export CONFIG_NM; \
/bin/sh ../../../gcc-2.95.2/libio/gen-params LIB_VERSION=2.8.0 
dummy.c:1: sys/types.h: No such file or directory
dummy.c:8: stdio.h: No such file or directory
dummy.c:9: time.h: No such file or directory
dummy.c:10: signal.h: No such file or directory
gen-params: could not invoke /home/cheon/gnu/gcc-2.95.2-obj/gcc/xgcc
-B/home/cheon/gnu/ppc-eabi/powerpc-eabi/bin/ -I.
-I../../../gcc-2.95.2/libio -E on dummy.c
gnumake[1]: *** [_G_config.h] Error 1
gnumake[1]: Leaving directory
gnumake: *** [all-target-libio] Error 2

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list