one tree builds
Jeffrey A Law
law@cygnus.com
Tue Jan 13 04:52:00 GMT 1998
In message <9711280724.AA15492@modi.xraylith.wisc.edu>you write:
> Chris Johns <cjohns@plessey.com.au> writes:
> > -I../../../egcs-971122/libiberty/../include
> > ../../../egcs-971122/libiberty/choose-temp.c
> > ../../../egcs-971122/libiberty/choose-temp.c:26: sys/types.h: No such
> > file or directory
> > ../../../egcs-971122/libiberty/choose-temp.c:27: sys/file.h: No such
> > file or directory
> > ../../../egcs-971122/libiberty/choose-temp.c:36: stdio.h: No such file
> > or directory
>
> choose-temp in both gcc and libiberty need a tiny fix so that config
> file for the host can define NO_SYS_FILE_H. As for stdio.h,
> --enable-newlib should've supplied the include path to it.
>
> Thu Nov 6 11:23:49 1997 Mumit Khan <khan@xraylith.wisc.edu>
>
> * choose-temp.c: Change order of includes so that config.h can
> define NO_SYS_FILE_H. Needed when used in gcc, but not libiberty.
I don't see why this patch is needed.
config.h is included before the NO_SYS_FILE_H check, so doesn't that
give us the override capability we need?
Based on the error message I suspect Chris didn't have any target include
files for the compimler to use -- note that it couldn't find stdio.h!
jeff
More information about the Gcc
mailing list