cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Building 32-bit Libcurl on Mac OS X 10.6

From: Jeremy Hughes <jeremy_at_softpress.com>
Date: Fri, 27 Aug 2010 11:46:17 +0100

Michael Wood (26/8/10, 16:27) said:

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

That helps - thanks!

Jeremy

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-27