On 02/10/2013 01:23 PM, Nathan Coulson wrote: > On Sun, Feb 10, 2013 at 11:18 AM, DJ Lucas <[email protected]> wrote: >> Has anybody entertained the idea of multiarch (not current multilib) on >> an LFS style build yet? I intend to do this, but if anybody has already >> done so, I'd appreciate notes, patches, and what not. >> >> For those unfamiliar: http://wiki.debian.org/Multiarch/ >> From my POV, unlike the previous disagreement of lib<qual> amongst >> distributions, this _seems_ to be much cleaner and well thought out, >> especially with a couple of examples in place already (Fedora has been >> doing this in parallel as well as Debian and Ubuntu, but isn't really in >> the spotlight yet). >> >> -- DJ > > I use a variation on my own LFS system (Basically 64bit goes into > /usr/lib, and 32bit to /usr/lib/32. If there are binaries I want, I > install them to /usr/lib/32/bin). > > I also have a couple cross compilers, which are currently at > /usr/x86_64-pc-mingw32 and /usr/x86_64-pc-apple-darwin10 (Which would > probably be better in a multiarch setup). Also have a lfs to ubuntu > (/usr/x86_64-ubuntu1204-pc-linux-gnu) cross compiler, but I couldn't > get the multiarch patches to work for me (autotools failed to > regenerate the build system). I cheated and moved all the libraries > to standard locations instead
That should be interesting to get working. :-) Did you manage to find an lsb_architecture script, or more importantly, what it should actually do (besides return the default tuple)? > I was tossing the multiarch idea around, but there would be a lot of > modifications to my buildscripts to use /usr/lib/x86_64-pc-linux-gnu > instead of /usr/lib. (I don't mind doing that for the i686 arch, as I > rarely use 32bit software [I think just wine right now], but otherwise > I do try to keep close to LFS/BLFS upstream). I think using > /usr/lib/i686-pc-linux-gnu instead of /usr/lib/32 would be great > though. > > I'll update my notes at http://www.nathancoulson.com/proj_lfs.php (I > think when I put up that page, I couldn't adapt the existing gcc > instructions (We were using -B) for a multilib setup). Not really a > multiarch system, but it does modify some of the paths. I do remember you sharing that page. Instrumental when adopting my first addon 32bit libs and compiler a few years back. --DJ -- http://linuxfromscratch.org/mailman/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
