Building a cross compiler

Michael Hope michael.hope at linaro.org
Wed Dec 1 03:01:04 UTC 2010


Hi there.  I've had a few questions recently about how to build a
cross compiler, so I took a stab at writing the steps down in a
Makefile.  See:
 https://code.launchpad.net/~michaelh1/+junk/cross-build

Hopefully it's easy to follow.  It uses a binary sysroot and gives you
vanilla binutils 2.20 and Linaro GCC 2010.11 in a good enough way that
you can cross-compile for Maverick. The script is minimal and trades
readability for flexibility.

Note that Marcin's cross compiler packages or the Embedian toolchains
are a better way to go, but if you want to see the steps involved
check out the script.

Marcin or Matthias, would you mind reviewing it?

-- Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 4631 bytes
Desc: not available
URL: <http://lists.linaro.org/pipermail/linaro-toolchain/attachments/20101201/3deab088/attachment.obj>


More information about the linaro-toolchain mailing list