• 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
Link to zlib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Link to zlib


  • Subject: Link to zlib
  • From: Trygve Inda <email@hidden>
  • Date: Wed, 11 Jun 2008 13:52:57 +0000
  • Thread-topic: Link to zlib

I need to link to zlib and want to be sure to do this the right way... So it
works on 10.4 and 10.5 (and 10.6 someday).

I read on another list that:

> For such 'standard' libraries, the usual recommendation is to not add
> them to the project at all, but to add them to the 'Other Linker
> flags' in the target. For libzlib, you would use -lz
>
> I think the reason for this is to avoid hard-coded dependancies on a
> particular version of the library.

So should I not have this in my project? Currently I have zlib listed along
with Cocoa.framework QuickTime.framework etc.

Is this not a good idea?

Thanks,

Trygve


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Link to zlib
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: 3.1 beta 7 error
  • Next by Date: Re: 3.1 beta 7 error
  • Previous by thread: Re: 3.1 beta 7 error
  • Next by thread: Re: Link to zlib
  • Index(es):
    • Date
    • Thread