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


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

Re: sparc-rtems libiberty problem


   Date: Mon, 8 Jul 1996 14:53:07 -0500 (CDT)
   From: Joel Sherrill <joel@merlin.gcs.redstone.army.mil>

   This is the first one I have tried so far.  I don't exactly know what the 
   problem is but it looks like something is being built which probably 
   shouldn't.  Here is the error message:

   /net/morgana/usr1/rtems/work/rtems-config/build-sparc/gcc/xgcc
   -B/net/morgana/usr1/rtems/work/rtems-config/build-sparc/gcc/ -idirafter
   /net/morgana/usr1/rtems/work/rtems-config/build-sparc/sparc-rtems/newlib/targ-include
   -idirafter /net/morgana/usr1/rtems/work/rtems-config/src/newlib/libc/include
   -nostdinc -c -g -I. -I../../../src/libiberty/../include
   ../../../src/libiberty/choose-temp.c
   ../../../src/libiberty/choose-temp.c:27: sys/file.h: No such file or
   directory gmake[1]: *** [choose-temp.o] Error 1 g

   Any hints would be appreciated.

Current versions of newlib does have <sys/file.h>.  I would recommend
that you proceed by simply adding it to your copy of newlib.  The
<sys/file.h> in newlib looks like this:

#include <sys/fcntl.h>

Ian