NuTTeR -- Not Entered -- wrote:
I thought that -O3 was a bad thing to do when compiling(it must be good for somthing but i thought -O2 was the safe option)?
Yes -02 is the normal 'safe' option. -03 gives good speed boosts (up to ~10% depending on code) but in the occasional scenario the optimised operation will not do /quite/ what is expected by the programmer. this is only ever encountered in /really/ terse programming, and i, building an entire linux system from scratch, kde, gnome, apache and loads of other stuff (i like to fiddle with stuff) - i never had a program which wouldnt compile due to optimisations. so -03 is damn safe enough for the extra speed. binary distros tend to be -02 686 or -02 486...