Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using zlib for i386 (or Universal) builds on PPC clients




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: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Using zlib for i386 (or Universal) builds on PPC clients (From: Kirk Kerekes <email@hidden>)
 >Re: Using zlib for i386 (or Universal) builds on PPC clients (From: j o a r <email@hidden>)
 >Re: Using zlib for i386 (or Universal) builds on PPC clients (From: David Chan <email@hidden>)
 >Re: Using zlib for i386 (or Universal) builds on PPC clients (From: David Chan <email@hidden>)
 >Re: Using zlib for i386 (or Universal) builds on PPC clients (From: Uli Kusterer <email@hidden>)
 >Re: Using zlib for i386 (or Universal) builds on PPC clients (From: David Chan <email@hidden>)
 >Re: Using zlib for i386 (or Universal) builds on PPC clients (From: Markus Hitter <email@hidden>)
 >Re: Using zlib for i386 (or Universal) builds on PPC clients (From: Uli Kusterer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.