+++ Christian Robottom Reis [2012-05-10 11:50 -0300]: > On Mon, May 07, 2012 at 11:51:47AM -0700, Marcin Juszkiewicz wrote: > > W dniu 06.05.2012 16:06, Michael Hope pisze: > > >Hi there. Hopefully an easy question but I'm stumped. How do I > > >install the armel softfp libc6 on a new Precise armhf install? > > > > > >I set APT::Architectures to { "armel" } and then tried a apt-get > > >install libc6:armel but I get errors about the package not matching > > >the host architecture. > > > > echo 'foreign-architecture armel' >>/etc/dpkg/dpkg.cfg.d/multiarch > > echo 'deb [arch=armel] http://ports.ubuntu.com/ precise main > > universe' >/etc/apt/sources.list.d/armel.list > > apt-get update > > apt-get install libc6:armel > > > > not tested, should work > > Where should this be documented so others can find it when they are > trying to do the same as Michael?
There should be a howto linked from http://wiki.debian.org/Multiarch but there isn't currently. I'm sure there is one somewhere but I just failed to find it. This is one of the clearest docs currently: http://suihkulokki.blogspot.co.uk/2012/04/cross-compiling-with-multiarch-congrats.html The details are also on the linaro wiki here: https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/UsingMultiArch Linked from the index page: https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/CrossBuilding (which could do with an update) Wookey _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev