This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: --enable-targets=all breaks ranlib


On Wednesday 12 September 2007, Alan Modra wrote:
> On Wed, Sep 12, 2007 at 11:09:01AM -0400, Mike Frysinger wrote:
> > On Wednesday 12 September 2007, Mike Frysinger wrote:
> > > On Wednesday 12 September 2007, Alan Modra wrote:
> > > > On Tue, Sep 11, 2007 at 10:13:43PM -0400, Mike Frysinger wrote:
> > > > > and indeed, running `md5sum` on the libfoo.a before and after the
> > > > > call to ranlib shows no modifications were actually made
> > > >
> > > > You may be barking up the wrong tree.  Does ranlib built for a single
> > > > target do anything?
> > >
> > > yes, ranlib configured without --enable-targets=all generates an index
> >
> > ... and ld from either build will link nicely if the index has been
> > created, or barf if the index has not been created ...
>
> OK.  I think the most likely problem is that your .a is matching more
> than one target.

there didnt seem a way that i could find to explicitly force the BFD target 
when using ar/ranlib ... the help output is so kind as to list them all 
though :)
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]