This is the mail archive of the binutils@sources.redhat.com 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]

Re: archives with foreign object files


On Thu, Aug 16, 2001 at 05:56:53AM -0400, Hans-Peter Nilsson wrote:
> On Thu, 16 Aug 2001, Alan Modra wrote:
> > The idea of this patch is to fix a problem with `ar' when trying to
> > operate on an archive containing object files of a different format
> > to the archive itself.
> 
> So, does your mix of object formats in an archive work with the
> linker, or is this just for standalone "ar" usage?  If it
> doesn't work with the linker (or really: isn't expected to
> work), should it be warned about when "ar" works on it?

I think whether ld works or not is an entirely separate issue.
ar ought to work standalone.  As things are, you can create an
archive from which you can't extract anything.

Alan


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