노무현 대통령 배너


2008. 12. 16. 10:17

Cross Toolchains in Emdebian

데비안 계열에서 apt-get으로 크로스 컴파일 환경 구축이 가능하다.
출처: http://www.emdebian.org/tools/crosstools.html

Emdebian Toolchain


Get the binaries

This is an active development. This page has been created to tell about latest status and what things could be done to improve Emdebian toolchain.

To use this toolchain add to your /etc/apt/sources.list or /etc/apt/sources.list.d/emdebian.sources.list:

deb http://www.emdebian.org/debian/ unstable main

Search and install packages for the $ARCH that you need, for example 'armel':

$ apt-cache search armel

$ apt-get install libc6-armel-cross libc6-dev-armel-cross

$ apt-get install binutils-arm-linux-gnueabi

$ apt-get install gcc-4.3-arm-linux-gnueabi

$ apt-get install g++-4.3-arm-linux-gnueabi

You can also search for gdb cross package.

Build your own from sources

Use emchain from emdebian-tools Debian package.

Emdebian.org toolchain autobuilder

Emdebian uses buildcross to build the toolchains, paamboli adds an upper layer to buildcross to do distributed building using secure shells.

Emdebian discourages to use this set of scripts to build one toolchain, as it can ruin your system if you do not have the proper set up. EmdebianToolchainAutobuilder page contains some more information on this topic.

TODO

  1. Iron/Fix cross toolchains bugs.
  2. Improve automation for toolchain builds.
  3. Check repository infrastructure and add testing and stable migrations.
  4. Run remote tests on toolchains - is it posible? Do we have machines available?
  5. Add uClibc cross toolchains
  6. Add non official Debian supported arches (sh*, avr*, ...)

CategoryEmdebian