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]

Help with ppc cross


I'm trying to build a cross compiler from linux on x86 to linux on
powerpc.  I got the following error when it tries to execurte a
Configure script in powerpc-linux-gnu/libiberty
:

checking whether the C compiler (/Godzilla/tools/src/build-gcc/gcc/xgcc
-B/Godzilla/tools/src/build-gcc/gcc/
-B/Godzilla/tools/powerpc-linux-gnu/bin/ -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
make[2]: Entering directory
`/Godzilla/tools/src/build-gcc/powerpc-linux-gnu/libio'
test x"no" != xyes ||\
  /Godzilla/tools/src/build-gcc/gcc/xgcc
-B/Godzilla/tools/src/build-gcc/gcc/
-B/Godzilla/tools/powerpc-linux-gnu/bin/ -c -g -O2 -I.
-I../../../gcc-2.95/libio -D_IO_MTSAFE_IO
../../../gcc-2.95/libio/iogetline.c -o pic/iogetline.o
/Godzilla/tools/src/build-gcc/gcc/xgcc
-B/Godzilla/tools/src/build-gcc/gcc/
-B/Godzilla/tools/powerpc-linux-gnu/bin/ -c -g -O2 -I.
-I../../../gcc-2.95/libio -D_IO_MTSAFE_IO
../../../gcc-2.95/libio/iogetline.c
In file included from ../../../gcc-2.95/libio/iogetline.c:26:
../../../gcc-2.95/libio/libioP.h:30: errno.h: No such file or directory
In file included from ../../../gcc-2.95/libio/iolibio.h:1,
                 from ../../../gcc-2.95/libio/libioP.h:47,
                 from ../../../gcc-2.95/libio/iogetline.c:26:
../../../gcc-2.95/libio/libio.h:30: _G_config.h: No such file or
directory
../../../gcc-2.95/libio/iogetline.c:27: string.h: No such file or
directory
make[2]: *** [iogetline.o] Error 1
make[2]: Leaving directory
`/Godzilla/tools/src/build-gcc/powerpc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/Godzilla/tools/src/build-gcc'
make: *** [cross] Error 2

I have verified that errno.h and string.h do exists in
$prefix/$target/include.  does anyone know what is happening and how to
fix it????

Thanks,
Will


------
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]