curl-library
Re: Building 32-bit Libcurl on Mac OS X 10.6
From: Michael Wood <esiotrot_at_gmail.com>
Date: Thu, 26 Aug 2010 17:27:30 +0200
Date: Thu, 26 Aug 2010 17:27:30 +0200
On 26 August 2010 16:54, Jeremy Hughes <jeremy_at_softpress.com> wrote:
> Hi,
>
> I'm trying to build a 32-bit version of Libcurl (as a static library) on
> Mac OS X 10.6 (Snow Leopard).
>
> Previously, I've built Libcurl on Mac OS X 10.5 (Leopard) using the
> following commands:
>
> ./configure --with-libssh2=[path to LibSSH library]
> make
>
> This creates a 32-bit library which works fine on Mac OS X 10.5, but if
> I build Libcurl on 10.6 it defaults to 64-bit.
>
> I think I probably need to provide an option to ./configure, but I
> haven't managed to find anything so far - sorry if I've missed something
> that should be obvious.
See if this works:
CFLAGS="-arch i386" ./configure ...
-- Michael Wood <esiotrot_at_gmail.com> ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-08-26