Hello,

Appologies if this is in the wrong group, but I figured this would be the
forum to ask this question.

I've build an LFS system which is essentially entirely 64-bit, for my
Athlon64. However, there are a few occasions where i686 support is
required, specifically for GRUB, and more recently for me, for 32-bit
Firefox (extension support?).

I've built a self-hosted i686 toolchain in /opt/i686-gcc, and adjusted the
linker for it as per LFS instructions so resulting binaries link to
/opt/i686-gcc/lib/ld-linux.so.2

My question is: Can I build 32- and 64-bit libraries, and stick them in
/lib32 and /lib64 and have them coexist? That is, when I run ldconfig, it
sees 32- and 64-bit versions of libX.so and adds them to the database. Then
32-bit program foo requests libX.so, will the linker know to use the 32-bit
version of libX?

If not, how have others gone about this?

Thanks,
Michael

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to