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]
Other format: [Raw text]

Re: Should strip gnore the unknown files in archive?


On Wed, Jun 08, 2005 at 11:49:32AM +0930, Alan Modra wrote:
> On Tue, Jun 07, 2005 at 04:31:36PM -0700, H. J. Lu wrote:
> > When strip is used on an archive with mixed .o and .c files, it will
> > report an error:
> > 
> > http://sources.redhat.com/bugzilla/show_bug.cgi?id=995
> > 
> > Should strip gnore the unknown files in archive?
> 
> Do you think "strip foo.c" should warn?  If so, then strip on unknown
> files in archives should warn too.  I suppose it would be nice for strip
> to continue processing other files in the archive, which doesn't seem to
> be the case now.

I don't mind error on "strip foo.c". But I don't think error on
foo.c in an archive is nice. A warning is better.


H.J.


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