Should strip gnore the unknown files in archive?
H. J. Lu
hjl@lucon.org
Wed Jun 8 03:16:00 GMT 2005
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.
More information about the Binutils
mailing list