(Logical) bug in configure for newlib-1.10.0

Eric Doenges doenges@lpr.e-technik.tu-muenchen.de
Tue Feb 26 08:40:00 GMT 2002


Hi,


I've just tried to configure and build newlib-1.10 for m68k-coff. My
configure command was:

../newlib-1.10.0/configure --host=i686-pc-linux-gnu --target=m68k-coff \
--prefix=/NET/animal/user/doenges/local --norecursion

The problem is that the libgloss/m68k/configure script tries to see if
the cross compiler works, which it of course does not for several
reasons:

a) It has no idea which linker script must be used for linking with my
   intended target

b) If I am installing a cross compiler from scratch, at this point I
   won't have a working C library to link against.

While a) could be brushed off as a 'pilot error' (after all, it should
be possible to hack the m68k-coff-ld to use the correct linker script
by default), I feel it's a bit silly to require a C library to link
against when building the C library itself.
-- 
________________________________________________________________________
Dipl.-Ing. Eric Doenges                         http://www.rcs.ei.tum.de
Institute for Real-Time Computer Systems (RCS)      fon +49-89-289-23590
Technische Universitaet Muenchen, D-80290 Muenchen  fax +49-89-289-23555



More information about the Newlib mailing list