On 11 May 2012 02:50, Christian Robottom Reis <k...@linaro.org> wrote: > 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?
It's not official, but I have a page on patching a multiarch system so you can build GCC: https://wiki.linaro.org/MichaelHope/Sandbox/MultiarchWorkarounds and it now has a note on installing other libcs. Matthias is working on upstreaming the multiarch patch which will eliminate the first three, and my hard float loader patch fixes the fourth. -- Michael _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev