> > If I follow the instructions of LFS and BLFS team and install a package > > (mysql for example) the configure script will use optimizations for 64bit > > or I have to do some configuration manually (setting machine tripplet, > > CCFLAGS .....) > > Don't use any particular flag. If you run a 32 bit system you can execute > only 32 bit apps. It should be good, anyway. > > I suggest you go with 32 bit system and apps. > > --Luca I totally disagree with this statement. Why are there 64 bits processors if the performance win is neglectable, as you suggest? Optimizing builds can improve the speed of binaries a lot (although opinions on this differ). Don't optimize the static build environment (this won't be used anymore when you boot into LFS) but optimize almost all the final packages, e.g. chapter 6. Check here to see what optimization you should use: http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options
GTK people say you shouldn't optimize because that breaks GTK. This however shows more of the bad programming work of GTK than the optimizations of GCC. I use these CFLAGS without any problems: -O3 -march=athlon-xp. Packages that are known to break with (agressive) optimizations are: binutils, gcc, grub and GTK. Optimize everything else, including glibc and you should notice the difference. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
