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

Alternate toolchain for armhf (e.g. linaro) under schroot sbuild



Hi there!

Can I use sbuild-createchroot... (Jessie)

sudo sbuild-createchroot
--make-sbuild-tarball=/srv/chroots/jessie-sbuild.tgz jessie
/srv/chroots/jessie http://httpredir.debian.org/debian/


... BUT THEN opt to *not* use a packaged armhf toolchain.
https://wiki.debian.org/CrossToolchains#Installation


...AND INSTEAD opt to *use* a different toolchain, such as the Linaro
Toolchain linked here
https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-ARMCrossCompiler:GCC
( https://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
)
???

What are the steps required to get that Linaro toolchain into the
schroot and have it jive with the debian packages kernel, and whatever
dependencies?


Do I need to symlink the compiler to a particular location under
/usr/bin and give it the correct name?
How do I need to handle libc and c++ libraries?
How does the kernel fit into the picture? (Can I use the standard
packaged kernel, or do I have to mess with building an own one?)

Thanks.
n.


Reply to: