On Thu, May 24, 2012 at 03:34:21AM +0100, Ken Moffat wrote: > Last month, I was querying the use of -O3 in glibc with x86_64 on > lfs-dev : turned out my problems on that one machine are down to > buying cheap consumer-grade hardware (it works, mostly) :)
<snip> > So, I wondered how using -O3 in the toolchain would affect the > build, and now I know. Back when I first arrived here, > optimisations were in vogue among some people to speed up our > compiles. I think I can happily avoid investigating optimisations > again. :) I remember using optimizations to get just a bit more out of what I had at the time. CFLAGS="-O3 -mcpu=pentium -march=pentium" on 100MHz of non-mmx performance! Quick - where's my lilo boot floppy ... It sure did take a while to compile, especially KDE. That took my machine a few days to do. The end result was pretty wonderful though. Old habits die hard, so I continue to use optimizations as much as possible. I found it does add to the time compiling, however, I'd be hard pressed to say that it speeds up how fast the binaries run. It just might be it doesn't make any difference. Of course, I am using somewhat more mordern system nowadays. ae -- My Blog: http://elian001.wordpress.com -- http://linuxfromscratch.org/mailman/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
