On 2010-03-21 22:20, Garrett Cooper wrote:
 From gcc(1):

       -s  Remove all symbol table and relocation information from the exe-
           cutable.

This is more or less the same as running strip(1) over the produced
executables.  Usually one uses it for non-debug builds.

That seems a bit harsh (especially because that makes certain
libraries uses kind of moot, like *_p.a, right?).

No, since -s only applies to the linking stage, so for executables or
shared libraries.  It does not apply to object files or libraries.

It could be argued that -s really belongs in LDFLAGS... :)
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to