Dan Pasanen wrote: > Ok, im not too sure about this, but i was wondering, i have dual core > turion64's should that affect if im running -O2 or -O3? currently im > running -O2. and if i did change it to -O3, what, if anything should > i recompile?
>From gcc man page: -O3 Optimize yet more. -O3 turns on all optimizations specified by -O2 and also turns on the -finline-functions, -funswitch-loops and -fgcse-after-reload options. So "-O3" is adding 3 more optimization flags to the bunch of flags "-O2" brings. I thing it is reasonable to doubt that a program compiled with "-O3" would greatly outperform the same program compiled with "-O2". The same logic is applicable about stability. I have to admit that my logic here is a plain arithmetic of type: "1 lemon - 10 cents, 10 lemons - 100 cents". There are programmers here who's opinion should be respected if it differs from this logic. -- Best regards, Daniel -- gentoo-amd64@gentoo.org mailing list