Should strip gnore the unknown files in archive?

Alan Modra amodra@bigpond.net.au
Wed Jun 8 02:44:00 GMT 2005


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.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list