On Mon, Mar 26, 2007 at 09:20:30AM +0200, Luca Dionisi wrote: > On 3/26/07, dim-skou <[EMAIL PROTECTED]> wrote: > > > > > > I know about the project CLFS which describes how to compile a LFS system > > where the build and target pc are different. > > CLFS is the recommended book you have to follow to build a 64 bit system > even if you have a 64 bit host and a 64 bit target. Correct. > > > My question is, what if I have a 64bit processor and I want to compile LFS > > for that machine (building toolchain on that machine). > > A 64 bit processor (AMD64) can run a 32 bit system. You won't have much > performance boost if you use a 64 bit one. The big difference is if you > have more than 4 GB of physical RAM. > For x86_64 (only) the programming model is better - gcc has a lot more registers to play with, so it can do better optimization and run faster - whether it makes a difference to normal usage is a different matter entirely.
> > 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 .....) Configure scripts detect what is running. With a 64-bit kernel, they should attempt to build 64-bit (or, on multilib, 32-bit with the appropriate $BUILD32 invocation - see cblfs for any information aout specific packages). If your x86_64 is running a 32-bit kernel, it is just another x86 and can only run 32-bit software. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
