This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Cross compiling errors


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

host=sparc-sun-solaris2.7
target=powerpc-eabi

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
problem.

Thanks,

David

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/gcc-2.95.2-obj/gcc/
-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
`/home/cheon/gnu/gcc-2.95.2-obj/powerpc-eabi/libio'
if [ x"no" = xyes ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
rootme=`pwd`/ ; export rootme; \
CC="/home/cheon/gnu/gcc-2.95.2-obj/gcc/xgcc
-B/home/cheon/gnu/gcc-2.95.2-obj/gcc/
-B/home/cheon/gnu/ppc-eabi/powerpc-eabi/bin/ -I.
-I../../../gcc-2.95.2/libio"; export CC; \
CXX="/home/cheon/gnu/gcc-2.95.2-obj/gcc/xgcc
-B/home/cheon/gnu/gcc-2.95.2-obj/gcc/
-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 
>tmp-params.h
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/gcc-2.95.2-obj/gcc/
-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
`/home/cheon/gnu/gcc-2.95.2-obj/powerpc-eabi/libio'
gnumake: *** [all-target-libio] Error 2

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]