Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2010 16:35:13 +0100
From:      Dimitry Andric <dimitry@andric.com>
To:        gary.jennejohn@freenet.de
Cc:        Alexander Best <alexbestms@wwu.de>, Pegasus Mc Cleaft <ken@mthelicon.com>, freebsd-current@freebsd.org, Garrett Cooper <yanefbsd@gmail.com>
Subject:   Re: build failures after stdlib update
Message-ID:  <4BA63CB1.3000201@andric.com>
In-Reply-To: <20100321140804.48cd1876@ernst.jennejohn.org>
References:  <201003211232.35497.ken@mthelicon.com>	<permail-20100321124352f7e55a9d0000754e-a_best01@message-id.uni-muenster.de>	<20100321140304.37618e59@ernst.jennejohn.org> <20100321140804.48cd1876@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA63CB1.3000201>