cURL / Mailing Lists / curl-library / Single Mail


Re: Script to build libcurl.framework on Mac OS X

From: Yang Tse <>
Date: Fri, 10 Apr 2009 03:47:32 +0200

2009/4/9, Daniel Johnson wrote:

> I've improved the MacOSX-Framework script to now build a four way fat
> framework (ppc, i386, ppc64, x86_64).

Great. Just committed now.

> I ended up running two builds, one 32
> bit and one 64, and combining them. The script generates separate
> curlbuild32.h and curlbuild64.h files while curlbuild.h selects which one to
> use at compile time.

As long as the only differences in generated curlbuild.h are due to
32/64 bitness this is a safe and sound approach. Good.

> Note that a four way fat framework requires 10.5 or
> later to build; on 10.4 you get only two way fat. At run time, the 32 bit
> architectures require 10.4 and later while 64 bit requires at least 10.5.

Mac OS X newbies would surely much appreciate some indications in
docs/INSTALL relative to the Mac OS X platform. Could you perhaps do
something about this in a future, when time allows you to do so?

Received on 2009-04-10