cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Universal dylib (Mac OS X)

From: Silvio Moioli <silvio_at_moioli.net>
Date: Sun, 03 Dec 2006 12:57:49 +0100

Hi,
        unfortunately that doesn't seem to work (the prodced dylib is
i386-only). As I stated in the first message, I can't get to compile the
ppc part of the dylib (the static library and the curl executable get
compiled without problems).

Thanks

S.M.
Paul Querna wrote:
> 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
>
>

-- 
Silvio Moioli
www.moioli.net
silvio at moioli dot net
"Things should be as simple as possible, but not any simpler" Einstein
Received on 2006-12-03