This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to build 32 bit glibc in a 64 bit host ?


On Thu, Jul 3, 2008 at 7:30 PM, Ryan Arnold <ryan.arnold@gmail.com> wrote:
> On Thu, Jul 3, 2008 at 11:20 AM, Metuki Sabhe <sabhe.metuki@gmail.com> wrote:
>> I've tried to build a 32-bit glibc in my 64-bit host and failed.
>>
>> I gave "--buid i386-linux" to configure, and that went ok,
>> but when I try to "make" I get the following errors:
>>
>> nptl/sysdeps/i386/tls.h:65:3: error: #error "TLS support is required."
>> In file included from include/tls.h:6,
>>                 from sysdeps/unix/sysv/linux/i386/sysdep.h:30,
>>                 from <stdin>:1:
>
> Please reply with the configure fragment you used to configure GLIBC.

Nothing fancy:

../glibc-2.5/configure --build i386-linux
--prefix=/home/metuki/glibc-2.5-install

If I remove the --build parameter, it builds ok.

I didn't mention I am trying to build glibc-2.5.

Thank you.

>
> Ryan S. Arnold
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]