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

Cross-toolchains for Jessie available



After a long period of brokenness, cross-toolchains for debian are back.

We dropped the ball rather over Wheezy as we expected new
multiarch-built cross-toolchains to be ready much sooner than this so
failed to take care of wheezy properly which has been a pain for a lot
of people. Sorry about that.

However there are now some working cross-toolchains again, in time for
Jessie. These did not make it into Jessie proper, due to
infrastructure changes which are needed for packages with cross-arch
dependencies, but the deadline did provide the impetus to get it all
working.

These are essentially the same packages that have been available from
secretsauce.net for much of 2014, but covering more architectures.

They are now available from emdebian.org along with cross-gcc-defaults
packages and a modified pkg-config to make that work with multiarch
and crossbuild-essential-<arch> packages to pull in dpkg-cross and
libc-dev:<arch>, especially if using sbuild where the default config
expects that package to exist. cross-binutils packages are in Jessie
proper.

amd64 and i386 packages are available, targetting all the other jessie
release arches (armel, armhf, arm64, mips, mipsel, powerpc, ppc64el)

Installation and status info is maintained at
https://wiki.debian.org/CrossToolchains

Frontends for cpp, gcc, g++ and gfortran are available now. gobjc and
gccgo are building now and should be uploaded in a couple of days.

These crosstoolchains are not multilibbed, but are co-installable, so
install a compiler for each arch/triplet you wish to target. They have
multiarch dependencies so you will need to enable the target
architecture as a foreign arch to install, as documented on the above
page.

Unlike older Emdebian cross-toolchains, these are configured to use
multiarch paths for libraries and headers so you should use multiarch
methods to build (which debian appears to be lacking any docs for - we
should do something about that).

The same cross-toolchains are also available in unstable, but are not
always installable due to multiarch skew (after a new gcc, libc or
linux upload). And they have caused some controversy so expect changes
and instability. Also mips is currently broken as the native compiler
didn't build in the current upload. 

Please report back if they are useful to you.

The Emdebian.org server got a) hacked and b) moved, so the old
toolchains (squeeze, wheezy and older) are currently non online, but
will be restored reasonably soon.

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/


Reply to: