• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using zlib for i386 (or Universal) builds on PPC clients
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
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>)

  • Prev by Date: Re: How to Print MultiPageView in a Single Page Similar to Excel
  • Next by Date: Re: [ANN] UKCrashReporter 0.1
  • Previous by thread: Re: Using zlib for i386 (or Universal) builds on PPC clients
  • Next by thread: Re: Using zlib for i386 (or Universal) builds on PPC clients
  • Index(es):
    • Date
    • Thread