Home Introduction to cross-compilation

Introduction to Cross Compilation

E-mail Print PDF
User Rating: / 67
PoorBest 

Many users simply want to compile standalone source code or tweak u-boot or the Linux kernel without the full power of the OpenEmbedded Build system.

If you need a customized root filesystem or need to compile packages that have many dependencies, see the How To explaining the OpenEmbedded Build System. ·If you need to rapidly iterate in developing a small piece of C/C++ code, check out the guide to native compilation on a Gumstix COM. ·The following guide explains how to set up a basic cross-compilation environment using the u-boot bootloader code as an example. ·These instructions are given for a Debian-based host system, however they are similar for other Linux OS distributions.

Note: this article is not yet finished and requires additional content. ·Thanks for your patience and check back soon.

Useful Links

A common case is building the Linux Kernel. ·These blogs offer good information and can be a valuable resource.  

  • Elphel
  • BEC·(note that the cross-compiler path has changed in recent versions of OE from something like·/oe/build/angstrom-2008.1/tmp/cross/armv7a/bin to something like oe/tmp/sysroots/i686-linux/usr/armv7a/bin)