On Sun, Mar 21, 2010 at 8:35 AM, Dimitry Andric <dimi...@andric.com> wrote:
> On 2010-03-21 14:08, Gary Jennejohn wrote:
>>>>
>>>> CPUTYPE=native
>>>> CFLAGS=-O2 -fno-strict-aliasing -pipe -s
>>>>
>>>> btw: what's the -s switch doing?
>>>
>>> It "silences" make.  See the man page.  It's useful because basically
>>> only
>>> errors are emitted.
>>
>> Oops.  That's wrong.  I got confused.  I'd like to know that myself, now
>> that I'm no longer confused :)
>
> 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?).

Cheers,
-Garrett
_______________________________________________
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