On 07/30/2014 05:49 PM, Anthony Wright wrote:
> On 30/07/2014 14:40, Armin K. wrote:
>> On 07/30/2014 03:39 PM, Armin K. wrote:
>>> Try this: www.linuxfromscratch.org/~krejzi/glibc 32 bit.txt
>> FYI, this should be on a single line since I was too lazy to rename a
>> file not to include spaces. Or you could just omit the file bit and
>> select it, there is no index file.
>>
>>> You need a 32 bit capable compiler to build 32 bit glibc. I achieve that
>>> by installing a cross-gcc in /usr/gcc, then building a 32 bit glibc
>>> using that compiler. I believe the instructions are for gcc-4.8.x, but
>>> can be adjusted for 4.9.x by adjusting the switches from gcc pass1 in
>>> LFS (without --disable-multilib).
> Thanks for the link, it's been very helpful. You seem to be rebuilding
> binutils and gcc with multilib enabled, before building glibc. Do you
> think it would be possible to simply modify the original LFS 7.5-systemd
> book, to enable multilib on binutils & gcc before building both a 64 bit
> and 32 bit version of glibc?
> 
> Anthony
> 

Well, you need a multilib capable compiler before building glibc, and
glibc is the third package in chapter 6 that's being built. I also have
instructions for building 32 bit glibc, a multilib compiler and binutils
in chapter 5.

-- 
Note: My last name is not Krejzi.

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to