• 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: Linker issue: static lib which uses a dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linker issue: static lib which uses a dylib


  • Subject: Re: Linker issue: static lib which uses a dylib
  • From: Alastair Houghton <email@hidden>
  • Date: Wed, 15 Aug 2007 12:51:01 +0100

On 15 Aug 2007, at 12:26, Simon Raisin wrote:

I was able to get by my issue by manually loading my dylib from within my static lib (using dlopen and friends). It works and wasn't painful, but I'd still like to understand why I couldn't do everything at link time.

I'm wondering if it is an ordering issue on the ld command-line?

It sounds like it. Link order typically matters for Unix linkers, which might be unexpected if you're used to (for instance) Microsoft's linker.


I believe you can control the link order by re-ordering things in your Xcode project. Did you try that?

Kind regards,

Alastair.

--
http://alastairs-place.net


_______________________________________________ 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: Linker issue: static lib which uses a dylib
      • From: "Simon Raisin" <email@hidden>
References: 
 >Linker issue: static lib which uses a dylib (From: "Simon Raisin" <email@hidden>)
 >Re: Linker issue: static lib which uses a dylib (From: "Simon Raisin" <email@hidden>)

  • Prev by Date: Xcode incorrectly caching source files?
  • Next by Date: Re: Linker issue: static lib which uses a dylib
  • Previous by thread: Re: Linker issue: static lib which uses a dylib
  • Next by thread: Re: Linker issue: static lib which uses a dylib
  • Index(es):
    • Date
    • Thread