Warp wrote:
> Roz <Rzl### [at] netscape net> wrote:
>
>>CXXFLAGS = -g
>
>
> Don't use -g.
> That flag is for debugging purposes only. Since you are compiling a final
> version with extreme optimizations, -g is not only useless and cause the
> binary to be uselessly large (until stripped), but it even *might* contradict
> with some optimizations, thus resulting in a slightly less optimized binary
> (perhaps this is not the case, but it could be).
>
NetBSD does not have a gcc 3+ packages yet but I compiled it from source
using the compiler glags suggested by you and Roz.
This turns out to give a major speed gain, I've attached some data in
case anyone is interested.
Rob
Post a reply to this message
Attachments:
Download 'us-ascii' (2 KB)
|