[Vm-dev] Re: Compiler Optimization in the different CMakeConfigs
Eliot Miranda
eliot.miranda at gmail.com
Wed Apr 20 19:25:24 UTC 2011
On Tue, Apr 19, 2011 at 2:19 PM, Mariano Martinez Peck <
marianopeck at gmail.com> wrote:
>
> Sorry, I forgot to say..and for the "debug" release, Unix and Windows use
> -O1 instead of -O1 which is the one used by Mac confs...is this correct?
>
> Is it safe to debug using -O1 instead of -O0?
>
No. If you want to be able to debug everything reliably then you need to
use -O0.
>
> thanks
>
> Mariano
>
> On Tue, Apr 19, 2011 at 11:13 PM, Mariano Martinez Peck <
> marianopeck at gmail.com> wrote:
>
>> Hi guys. Unix and Windows confs have -O2. However, in Mac, the Carbon ones
>> have -O3 y the cocoa ones -Os.
>> As far as I know -Os is for size, so we really don't care about that
>> (unless we are in a mobile device). So, is there a reason why Unix and
>> Windows use -O2 and Mac -O3 ? should we chage this? which should we use?
>>
>> Thanks in advance,
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110420/0ceb08aa/attachment.htm
More information about the Vm-dev
mailing list