• 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: Question about dynamic and static libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about dynamic and static libraries


  • Subject: Re: Question about dynamic and static libraries
  • From: Bill Northcott <email@hidden>
  • Date: Sun, 1 Jan 2006 12:34:35 +1100

On 01/01/2006, at 2:12 AM, Steve Checkoway wrote:
Look at the way Apple do it with open source stuff. They use a 'dst' directory buried in /private/tmp or you home directory. that way the final install_name path will always be shorter. I have done this a lot and never had to lengthen a name.


You're right, that does sound like the way to go for that sort of thing. I'm not completely positive at this point, but I think my point was that the fact that one has to do this sort of thing at all is bad.

Of course we can just differ on whether this is good or bad thing. My perspective is that, used properly. it guarantees that the right dylib will be used at runtime regardless of how many other versions may be installed. The alternative of changing the runtime search paths can break other packages. Install_names can't do that.


I think it is worth the learning curve and slight added complication for this benefit.

Cheers
Bill
_______________________________________________
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: Question about dynamic and static libraries
      • From: Steve Checkoway <email@hidden>
    • Re: Question about dynamic and static libraries
      • From: Rob Rohan <email@hidden>
References: 
 >Re: Question about dynamic and static libraries (From: Bill Northcott <email@hidden>)
 >Re: Question about dynamic and static libraries (From: Steve Checkoway <email@hidden>)
 >Re: Question about dynamic and static libraries (From: Bill Northcott <email@hidden>)
 >Re: Question about dynamic and static libraries (From: Steve Checkoway <email@hidden>)
 >Re: Question about dynamic and static libraries (From: Bill Northcott <email@hidden>)
 >Re: Question about dynamic and static libraries (From: Steve Checkoway <email@hidden>)
 >Re: Question about dynamic and static libraries (From: Bill Northcott <email@hidden>)

  • Prev by Date: Re: Property List Compiler
  • Next by Date: Re: Question about dynamic and static libraries
  • Previous by thread: Re: Question about dynamic and static libraries
  • Next by thread: Re: Question about dynamic and static libraries
  • Index(es):
    • Date
    • Thread