Cross Compiling Linux - 2 hour tutorial This is a practical introduction to cross compiling, during which we'll build a working cross-compiler, use it to cross-compile a native uClibc-based Linux development environment, and boot this new environment under QEMU. Attendees may choose arm, mips, x86, x86_64, sparc, or PPC as the platform they wish to build for. The author's Firmware Linux project (which already does all this) will be used as an example. Attendees should bring a reasonably fast laptop with net access and at least 256 megs of ram. General outline: 1) Terminology: cross compiling, native compiling, host/target, toolchain, etc. 2) Why cross compiling is hard, and why we need to do it anyway. 3) Building a cross compiler toolchain from linux, binutils, gcc, and uClibc. 4) Making a native build environment (adding make, busybox, and bash). 5) Packaging disk images, booting, and running under QEMU. 6) Optimizations and alternatives. (distcc, armulator, boards/bootloaders, nfs, tsrpm) 7) Where to from here? (LFS, gentoo, etc.) Links: http://www.landley.net/writing/docs/cross-compiling.html http://www.landley.net/code/firmware/about.html http://www.landley.net/code/firmware/design.html http://cross-lfs.org/files/BOOK/1.0.0/ http://www.gentoo.org/proj/en/base/embedded/index.xml http://gentoo-wiki.com/Embedded_Gentoo