POV-Ray : Newsgroups : povray.unix : Build optimisation flags? : Re: Build optimisation flags? Server Time
28 Jul 2024 08:28:29 EDT (-0400)
  Re: Build optimisation flags?  
From: Roz
Date: 23 Aug 2002 00:16:55
Message: <3D65B77C.6040209@netscape.net>
Roz wrote:
> Warp wrote:
> 
>> Roz <Rzl### [at] netscapenet> 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).
>>
> 
> That's what I get for piecing together everyone's suggestion for flags :P
> 
> Thanks Warp, I'll do some test renders without that debugging flag!

Strangely, it didn't make any difference. The file size is the same and
the rendering times didn't really change. Perhaps the -s flag overrides
the -g flag? Either way, it might as well not be there.

-Roz


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.