Wookey wookey@wookware.org writes:
Debconf13 (last week) considered the matter of bare-metal cross-toolchains in Debian. Ideally we would have one toolchain source package from which the existing linux native compilers, and cross-compilers are built, including bare-metal cross-compilers. There is already mechanism for adding patches for particular gcc builds, so so long as the patch set is manageable and trackable, this would be nice, and futureproof, as eventually the patch set should just evaporate as it gets upstreamed.
I've finished packaging binutils-arm-none-eabi, gcc-arm-none-eabi and pdclib-arm-none-eabi at this point and I think they're ready to upload to the archive.
Package: binutils-arm-none-eabi Version: 2.23.52.20130727-1+1
This is built from the binutils-source package without any additional patches by setting the target to arm-none-eabi.
The +1 in the version is the packaging version for the arm-none-eabi packaging bits, the rest is the source package version of binutils that it was compiled from.
git://git.debian.org/users/keithp/binutils-arm-none-eabi
Package: gcc-arm-none-eabi Version: 4.8.1-10+2
Built from the gcc-4.8-source package with the patch supplied by Matthias Klose applied along with some minor build fixes.
git://git.debian.org/users/keithp/gcc-arm-none-eabi
Package: pdclib-arm-none-eabi Version: 0.5-1
This comes from version 0.5 of pdclib, but I've hacked at it to integrate with the above gcc version better.
git://git.debian.org/users/keithp/pdclib-arm-none-eabi
GCC is completely stand-alone, and does not require pdclib at all to be useful. pdclib is just what I'm using.
All of these are available in a repository on my home machine:
deb http://keithp.com/archive/ unstable/ deb-src http://keithp.com/archive/ unstable/
-keith