This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
(Logical) bug in configure for newlib-1.10.0
- From: Eric Doenges <doenges at lpr dot e-technik dot tu-muenchen dot de>
- To: newlib at sources dot redhat dot com
- Date: Tue, 26 Feb 2002 17:40:34 +0100
- Subject: (Logical) bug in configure for newlib-1.10.0
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