[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cross-compilation, native compilation, or chroot compilation for armhf



On Sun, Nov 16, 2014 at 5:21 AM, Rainer Dorsch wrote:

> If you have a cross-compilation setup, can you give a pointer how you set it
> up?

Debian is getting official in-archive cross-compilers, you can try it
now but it might not fully work yet:

<add experimental to your sources.list>
sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get install crossbuild-essential-armhf
apt-get source foo
cd foo-*/
dpkg-buildpackage --host-arch armhf

There is some documentation and a recent talk about this here:

https://wiki.debian.org/CrossToolchains
http://meetings-archive.debian.net/pub/debian-meetings/2014/mini-debconf-cambridge/webm/02-Crosstoolchains_in_Debian_by_Wookey.webm

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


Reply to: