Re: Cross-compilers i386->arm in Debian?
On Tue 01 Oct, ml wrote:
> a friend of mine just bought a Sharp Zaurus, and I'm
> thinking about a Zaurus or IPAQ, too. Unfortunately, Debian
> does not fit on one of these, so I like to use Debian on a
> i386 to cross-compile some software for the arm machines.
> `apt-cache search cross compiler' shows gcc for some
> architectures, but not for arm. I also found
> toolchain-source, but don't know whether this is the right
> package for cross-compiling. Any hints?
You can get pre-built cross-toolchains from various places
(partial list (now no doubt somewhat out of date) here:
or you can build your own - docs here:
But it's much easier to use the emdebian one which is debian-friendly and nicely
laid out. It's certainly my favourite.
deb http://emdebian.sourceforge.net/emdebian unstable main
to your /etc/apt/sources.list
apt-get install task-cross-arm
This will get put in debian-proper at some point, once someone gets
enthised enough to do it.
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/