#3524: Add lib32 directories to chapter 6 GCC --------------------+------------------------- Reporter: Krejzi | Owner: lfs-book@… Type: task | Status: new Priority: normal | Milestone: 7.6 Component: Book | Version: SVN Severity: normal | Resolution: Keywords: | --------------------+-------------------------
Comment (by mkaracsony81): There is a more efficient way to do this. If you build a multilib enabled gcc just add these two seds before you run configure, and you're good to go: {{{ sed -i 's@../lib)@../lib32)@g' gcc/config/i386/t-linux64 sed -i 's@../lib64@../lib@g' gcc/config/i386/t-linux64 }}} This will modify the search paths so gcc will look for 64 bit libraries in ../lib & for 32 bit libraries in ../lib32 -- Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3524#comment:1> LFS Trac <http://wiki.linuxfromscratch.org/lfs/> Linux From Scratch: Your Distro, Your Rules. -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page