Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Similar to it's parent, LFS, the Cross Linux from Scratch (CLFS) project provides you with step-by-step instructions for building your own customized Linux system entirely from source. Unlike LFS,
- CLFS teaches you how to make a cross-compiler and the necessary tools, to build a basic system on a different architecture. For example you would be able to build a Sparc toolchain on an x86 machine, and utilize that toolchain to build a Linux system from source code.
- CLFS takes advantage of the target system's capability, by utilizing a multilib capable build system.
- CLFS supports architectures other than ix86 such as x86_64, Alpha, PowerPC, PowerPC64, MIPS, and Sparc/UltraSparc.
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Would you recommend the product? yes | Price you paid?: None indicated | Rating: 10
Gives you extreme control of your system; cross-compiler
Take time; hunting problems can be difficult
<P>I use Cross Linux from Scratch (CLFS) on my ix86 and x86_64 machines in a cluster of six machines.&amp;nbsp; I also use it on an old G4 PowerPC machine.&nbsp; It is easy, if somewhat time consuming, to install.&amp;nbsp; The book provides instructions for a multilib x86_64 build.&amp;nbsp; It is one of the most standards compliant x86_64 distributions I've come across.&amp;nbsp; Switching between the 32-bit and 64-bit tool chain is as simple as using the -m32 or -m64 switch.&amp;nbsp; I've tried other multilib x86_64 distros that provide a 32-bit tool chain AND a 64-bit tool chain rather than one multilib tool chain like CLFS.&amp;nbsp; Keeping architecture specific configuration files (e.g.,mysql_config) separate is done by appending a -32 or -64 to the file name.&amp;nbsp; CLFS provides the multiarch_wrapper program.&amp;nbsp; This is a small C application that reads the USE_ARCH environment variable which is set to either 32 or 64, and selects the correct file to use.&amp;nbsp; This is the only wrapper program required.&amp;nbsp; 32-bit applications run like Firefox don't require wrappers to use 32-bit plugins.&amp;nbsp; Just build the 32-bit version of Firefox and install the plugins just as you would on an ix86 platform.&amp;nbsp; Instructions for over 1000 packages can be found at the CBLFS Wiki (http://cblfs.cross-lfs.org/index.php/Main_Page).&amp;nbsp; There is also a CLFS Hints Wiki (http://hints.cross-lfs.org/index.php/Main_Page).&amp;nbsp; Boot time is acceptable.&amp;nbsp; One of my machines (http://cross-lfs.org/%7Earowland/bootchart.png) boots to run level 3 in under 25 seconds.</P>