• 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: Chris Hanson <email@hidden>
  • Date: Mon, 13 Feb 2006 08:13:25 -0800

On Feb 12, 2006, at 10:05 PM, David Chan wrote:

Oh I just found out now that this undefined symbol thing has nothing to do
with the universal binary code, but it occurs whenever i turn off the
zerolink. How can I properly link to zlib.h actually? Thanks a lot..

You can't; zlib.h is just a header file that declares the interface to a library. You need to link against the library itself. You can do this by adding /usr/lib/libz.dylib to your target, or by adding "- lz" to the "Other Linker Flags" build setting in your target's configurations.


  -- Chris

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

  • Prev by Date: [MEET] Chicago CAWUG / CocoaHeads - Tuesday 2/14
  • Next by Date: Re: Using zlib for i386 (or Universal) builds on PPC clients
  • 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