curl-library
Re: Cross-compiling libcurl x86 on Linux x64
Date: Thu, 16 Sep 2010 17:39:45 +0100
On 16/09/2010 12:36, Michael Wood wrote:
> On 16 September 2010 11:21, Tom Edwards<t_edwards_at_btinternet.com> wrote:
>> Despite having cross-compiled lots of other code today, I can't work out
>> the trick for libcurl.
>>
>> I've tried setting the build and host config parameters to all sorts of
>> values, and I've tried inserting -m32 both by hand-editing the makefile and
>> by setting an env var in terminal. Nothing has any effect; I always end up
>> with a 64-bit build.
>>
>> What should I be doing?
> Try:
>
> $ ./configure --host i686-pc-linux-gnu --other-options...
>
Thanks, but like I said I've tried setting the host. Neither that nor
any other x86 permutation I've tried has produced a 32-bit binary.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-09-16