Re: build failures after stdlib update

From: Garrett Cooper <yanefbsd_at_gmail.com>
Date: Sun, 21 Mar 2010 14:20:55 -0700
On Sun, Mar 21, 2010 at 8:35 AM, Dimitry Andric <dimitry_at_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
Received on Sun Mar 21 2010 - 20:20:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC