one tree builds
Chris Johns
cjohns@plessey.com.au
Thu Nov 27 19:11:00 GMT 1997
Jeffrey A Law wrote:
>
> In message < Pine.BSF.3.96.971125220325.4794C-100000@vespucci.advicom.net >you
> write:
> > > Yes. Or change gcc to look for XYZ.new
> > >
> > > I think this deserves a mention in the FAQ :-)
> >
> > And possibly a synchronized binutils/crossgcc release as well.
> Well, I've put it in the egcs FAQ. I'm not sure who maintains the
> crossgcc faq (I believe Doug resigned as maintainer a short while ago).
>
> > What does the --enable-newlib option do? Should I be using it on the
> > rtems configurations?
> I don't think it does anything in egcs at the moment. In Cygnus's gcc
> tree it disables __eprintf in libgcc2, which has some marginal benefit
> for cross builds.
>
Without --enable-newlib I cannot get past libgcc2's __eprintf looking
for stdio.h when building a m68k-coff-gcc on a Linux machine.
With --enable-newlib I get to :
make[2]: Entering directory
`/ods/src/egcs/m68k-coff-gcc/m68k-coff/libiberty'
test -z "" || \
/ods/src/egcs/m68k-coff-gcc/gcc/xgcc
-B/ods/src/egcs/m68k-coff-gcc/gcc/ -c -g -O2 -I.
-I../../../egcs-971122/libiberty/../include
../../../egcs-971122/libiberty/choose-temp.c -o pic/choose-temp.o
/ods/src/egcs/m68k-coff-gcc/gcc/xgcc
-B/ods/src/egcs/m68k-coff-gcc/gcc/ -c -g -O2 -I.
-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
make[2]: *** [choose-temp.o] Error 1
make[2]: Leaving directory
`/ods/src/egcs/m68k-coff-gcc/m68k-coff/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/ods/src/egcs/m68k-coff-gcc'
make: *** [cross] Error 2
The cross target make no difference here. I am not sure what has gone
wrong here.
--
Chris Johns Networks, Plessey Asia Pacfic Pty. Ltd.
mailto:ccj@acm.org mailto:cjohns@plessey.com.au
More information about the Gcc
mailing list