This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

libio problems/cross compiler.



Hello,

What's up with this and where am I blow it, whatever. ;-)

=========================

make[2]: Entering directory `/u2/egcs/egcs-build/powerpc-unknown-linux-gnu/libio'
if [ x"no" = xyes ] && [ ! -d pic ]; then \
  mkdir pic; \
  else true; fi
  touch stamp-picdir
  test x"no" != xyes ||\
    /maxtor/egcs/egcs-build/gcc/xgcc -B/maxtor/egcs/egcs-build/gcc/ -B/maxtor/powerpc-tools-bin/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/bin/ -c -g -O2 -I. -I../../../egcs/libio -D_IO_MTSAFE_IO  ../../../egcs/libio/iogetline.c -o pic/iogetline.o
    /maxtor/egcs/egcs-build/gcc/xgcc -B/maxtor/egcs/egcs-build/gcc/ -B/maxtor/powerpc-tools-bin/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/bin/ -c -g -O2 -I. -I../../../egcs/libio -D_IO_MTSAFE_IO ../../../egcs/libio/iogetline.c
    In file included from ../../../egcs/libio/iolibio.h:1,
                     from ../../../egcs/libio/libioP.h:47,
                     from ../../../egcs/libio/iogetline.c:26:
		          ../../../egcs/libio/libio.h:30: _G_config.h: No such file or directory
make[2]: *** [iogetline.o] Error 1
make[2]: Leaving directory `/u2/egcs/egcs-build/powerpc-unknown-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/u2/egcs/egcs-build'
make: *** [cross] Error 2

=========================
"Build Script"

#!/bin/csh

set rel         = /maxtor/powerpc-tools-bin/powerpc-unknown-linux-gnu
set host        = i586-pc-linux-gnu
set target      = powerpc-unknown-linux-gnu
set treeroot    = /maxtor/egcs/

set dirs        = egcs-build
set module      = egcs
set additional_args = "--with-newlib=yes --with-headers=/maxtor/egcs/newlib-1.8.2/newlib/libc/include --enable-languages=c++"

if (-d $dirs) then
else
        mkdir   $dirs
endif

cd      $dirs; pwd

echo sh ../$module/configure --target=$target --prefix=$rel --verbose $additional_args
sh      ../$module/configure --target=$target --prefix=$rel --verbose $additional_args

set path=($path $rel/bin); rehash

make cross

bill


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