Emdebian Toolchain
This is an active development. This page has been created to tell about latest status and what things could be done to improve [:Embedded_Debian:Emdebian] toolchain.
To use this toolchain add to your /etc/apt/sources.list:
################################ # EmDebian Toolchain [i386 and AMD64] # Etch # deb http://www.emdebian.org/debian/ stable main # Sid deb http://www.emdebian.org/debian/ unstable main # Lenny # deb http://www.emdebian.org/debian/ testing main
Search and install packages for the $ARCH that you need, for example 'armel':
$ apt-cache search armel $ apt-get install libc6-armel-linux libc6-dev-armel-linux $ apt-get install binutils-arm-linux-gnueabi $ apt-get install gcc-4.2-arm-linux-gnueabi
For now main development has been focusing on [http://www.emdebian.org/repos/current/emdebian/trunk/buildcross/trunk/ buildcross] and [http://www.emdebian.org/repos/current/host/trunk/emdebian-tools/trunk/emchain emchain].
$ svn co http://www.emdebian.org/repos/current/emdebian/trunk/buildcross/trunk/ $ svn co http://www.emdebian.org/repos/current/host/trunk/emdebian-tools/trunk/
buildcross builds a full set of toolchains for repository.
emchain automates the building of a toolchain for a given target from the current Debian default gcc/glibc/binutils.
A list of architectures supported is hardcoded into the buildcross script, under conf_vars.sh:
DEBARCHLIST=${DEBARCHLIST:="arm armel mips mipsel amd64 ia64 hppa alpha m68k i386 powerpc sparc s390"}
Current Status
TBC
TODO
- Iron/Fix cross toolchains bugs.
- Automate toolchain builds.
- Check repository infrastructure and add testing and stable migrations.
- Run remote tests on toolchains - is it posible? Do we have machine's available?
- Add uClibc cross toolchains
- Add non official Debian supported arches (sh*, avr*, ...)
cross gdb
- Until autobuilded as other toolchain packages, build it yourself as easy as
$ apt-get source gdb $ cd gdb-<TAB> $ export GDB_TARGET=<arch> $ fakeroot dpkg-buildpackage -us -uc -b