cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cross-compiling libcurl x86 on Linux x64

From: Michael Wood <esiotrot_at_gmail.com>
Date: Thu, 16 Sep 2010 13:36:48 +0200

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...

-- 
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-09-16