Re: Using zlib for i386 (or Universal) builds on PPC clients
Re: Using zlib for i386 (or Universal) builds on PPC clients
- Subject: Re: Using zlib for i386 (or Universal) builds on PPC clients
- From: Markus Hitter <email@hidden>
- Date: Tue, 14 Feb 2006 16:30:04 +0100
Am 14.02.2006 um 13:47 schrieb Uli Kusterer:
Am 14.02.2006 um 11:21 schrieb Markus Hitter:
Am 14.02.2006 um 02:32 schrieb David Chan:
Oh ya.. that -lz works perfectly.
A more Xcode'ish way would be to add the library to the project,
just like you'd add a source file or a framework. Then, Xcode
takes care to add the right flags. Same for -I flag/headers.
I'm not sure those two are fully equivalent. I seem to remember
some cases where the -lsomething flag was actually doing something
smarter than when you added a library ...
If it ever happens again, please tell us and file a bug, then.
Fiddling with command line flags in Xcode shouldn't be the 2006 way
of linking.
As a small test shows, adding the library to the project results in
exactly an "-lz" flag added to the gcc/linking invocation. Same
result, less error prone.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden