Richard Freeman <[EMAIL PROTECTED]> posted [EMAIL PROTECTED],
excerpted below, on Sat, 04 Oct 2008 07:56:11 -0400:
> Ben de Groot wrote:
>>
>> -Os optimizes for size, while -O2 optimizes for speed. There is no need
>> at all to use -Os on a modern desktop machine, and it will run
>> comparativel
2008/10/4 Richard Freeman <[EMAIL PROTECTED]>:
> Ben de Groot wrote:
>>
>> -Os optimizes for size, while -O2 optimizes for speed. There is no need
>> at all to use -Os on a modern desktop machine, and it will run
>> comparatively slower than -O2 optimized code, which is probably not what
>> you wan
Ben de Groot wrote:
-Os optimizes for size, while -O2 optimizes for speed. There is no need
at all to use -Os on a modern desktop machine, and it will run
comparatively slower than -O2 optimized code, which is probably not what
you want.
There are a couple of schools of thought on that, and I
Beso wrote:
>> CFLAGS="-march=nocona -O2 -pipe"
>
> first of all: nocona breaks your build. nocona isn't an amd processor
> but an emt64 (intel). for your processor you need to use march=k8.
> also, i'd use -Os instead of -O2 since it has some speed and size
> optimizations and it's stable.
-Os