cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Universal dylib (Mac OS X)

From: Paul Querna <chip_at_corelands.com>
Date: Sun, 03 Dec 2006 02:56:40 -0800

Silvio Moioli wrote:
> Hi,
> I'm trying to package an Universal Binary Mac OS X application that
> requires the libcurl dynamic library (libcurl.3.0.0.dylib). I've spent
> hours trying to figure out how to compile a UB library but did not
> succeed: the intel .dylib gets compiled without problems, but I cannot
> compile the ppc one (I'm using an Intel-based machine on OSX 10.4.8).
> Does anybody know if this is possible?

Yes.

CC="gcc -arch ppc -arch i386"
./configure ...

is one way. There are other cleaner ways.

-Paul
Received on 2006-12-03