> > Ref: Linux From Scratch - Version SVN-20151025 > > > > Does a patch exist to enable everything to be compiled to /lib, > > /usr/lib rather than /lib64, /usr/lib64 on an x86_64 machine? > > > > The last time I built LFS I managed to do it, but it took a > > significant amount of hacking to get there (and I lost my notes). > > > LFS only sets a link and doesn't change gcc specs to use only /lib,/usr/lib. > We do this in CLFS with pure64 bit builds. View our instructions at > http://clfs.org/view/CLFS-SYSTEMD-TRUNK-GIT-20151029/x86_64-64/ > and take note of our GCC 5.2 ticket at http://trac.clfs.org/ticket/1019 where > the > patches you need for pure64 bit will be. I've built LFS many times with > building > only the CLFS toolchain. So you shouldn't have any issues. > > LFS could choose to use /usr/lib,/lib for a pure64 bit build, but it just > adds more > complexity and confusion to the book and the book works now for x86/x86_64. > > Also, some users do wish to enable multilib later on, and keeping current LFS > layout > lets a user do that without much effort than if LFS did use /usr/lib:/lib. > Thanks for the suggestion - I did try this with CLFS a few years back, but I couldn't get it to work.
Anyway, I've managed to compile 64-bit to /lib, /usr/lib with LFS so all good :) Thanks again John -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
