This is the mail archive of the
mailing list for the binutils project.
Re: (Solaris 2.7 - binutils-2.13.1) Broken Makefile (and configure?) for prebuild of ar
- From: Ian Lance Taylor <ian at airs dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: binutils at sources dot redhat dot com, bug-binutils at gnu dot org, "svend_o_c at www dot com" <svend_o_c at www dot com>
- Date: 18 Dec 2002 13:29:22 -0800
- Subject: Re: (Solaris 2.7 - binutils-2.13.1) Broken Makefile (and configure?) for prebuild of ar
- References: <firstname.lastname@example.org><20021217094039.GO944@bubble.sa.bigpond.net.au>
Alan Modra <email@example.com> writes:
> On Tue, Dec 17, 2002 at 08:39:50AM -0000, firstname.lastname@example.org wrote:
> > The README file in the binutils subdirectory lists a
> > script to use for building ar.
> > I ran configure as usual, and the script.
> > The last step (building the ar executable) failed
> > with this message:
> > Undefined first referenced
> > symbol in file
> > mkstemps ../libiberty/make-temp-file.o
> > ld: fatal: Symbol referencing errors. No output written to ar
> Does anyone know why we bother with needed-list and required-list,
> and not use ../libiberty/*.o ? As far as I can tell, this script
> hasn't changed since Ian created it.
I was just emulating what the ordinary build would do--it would build
libiberty.a from needed-list and required-list. No deeper reason.
Presumably the ordinary build has changed since then.
It's very rare that anybody actually needs to run this script. Almost
everybody who is tries is a Solaris user, because ar is not always
loaded on Solaris systems. But it does come with the operating
system, and can be found in /usr/ccs/bin when the right package is