|
Embedded Debian Cross Development EnvironmentsEmdebian toolchain building HowtoBelow is documented the build process for building cross-toolchains the 'Debian Way'. You only need to do this if the pre-built binary toolchains do not satisfy your needs for some reason. We use the buildcross script to build the toolchains but this is probably overkill for most individual users. (buildcross replaces the old compbuildscript.) To build your own toolchains, please consider using emchain from the emdebian-tools package. This takes care of downloading the sources, installing the necessary arch-specific packages (glibc, kernel headers) and building the compilers. It is essentially a script implementing what is described below. Notation and exactly what things are called is important otherwise there can be much confusion, so we will clarify: When building toolchains:build == hostBuild machine installing the cross compiler build Host machine running the cross compiler host Target machine for which the compiler builds code target When building packages:build != hostbuild machine running the cross compiler build host machine running the built package handheld device there is no particular meaning for 'target'. Building your own toolchain is not a trivial matter, although this method is actually quite strightforward.
|
Last Modified: Thu, Nov 29 02:00:35 UTC 2007
Copyright © 2000-2007
The Embedded Debian Project;
Emdebian is an offical subproject of Debian.