home Page History

Last edited by Brett Neumeier

What is Cross-Built Linux?

Cross-built Linux (CBL) largely grew out of the fantastic work of the Linux From Scratch family of projects, in particular Cross Linux From Scratch project. It documents a step-by-step process for constructing a basic Linux system -- a system complete enough to re-run the entire CBL build process -- that runs on a different machine architecture from the original build system.

(If you are wondering, "Why not just use Cross Linux From Scratch?" there's a separate page that talks about that.)

The default assumption is that you only actually have one computer -- generally this will be an i686 or x86_64 machine -- so we'll be using the qemu emulator to host the CBL system. If your real goal is to build a new Linux installation for your real computer, you can then use the qemu-hosted CBL system as the build host and repeat the CBL process, reversing the host and target architectures, to create a new Cross-Built Intel system! This, obviously, takes a lot longer than using a faux cross-toolchain -- more than twice as long -- and has little incremental educational value, so we are using the Litbuild system to allow the entire build process to be automated.

Documentation is in Git

The wiki here is quite bare-bones, because the documentation for CBL is mostly in the git repository per se. In particular, see the README and VISION files.

Build Status

Not all of the sample configuration files provided in git actually produce functional results, and changes to software versions can cause formerly-working configurations to stop working. I tried creating a Build Status page to track which configurations work (and don't work) at specific revisions where they have been tested, but it turns out that's too much trouble to keep up and isn't a good format for logging any significant detail about specifically what happens for each build. I'm going to try to keep a more consistent and up-to-date log at Build Journal.


Last edited by Brett Neumeier