• 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: "Simon Raisin" <email@hidden>
  • Date: Wed, 15 Aug 2007 08:11:36 -0400

On 8/15/07, Alastair Houghton <email@hidden> wrote:
On 15 Aug 2007, at 12:26, Simon Raisin wrote:

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

Thanks for the reply Alastair.  (and I did come from the MS world). :)

I can't figure out how to change the ordering in Xcode.

My app has already been using the static lib so that dependency has already been established.  I dragged (drug?) the static lib xcode project directly into the xcode project for my app (and setup the dependancy stuff that way).

Now that a dylib is involved, the only thing I can seem to do is to place the -lMyDylib linker flag in the "Other Linker Flags" setting in the project's preferences.  As the ld output shows, that means that it ends up at the end of the command line. :(

Any suggestions would be appreciated because I would very much like to get this working without resorting to dlopen, et. al.

Thanks,
CxT
 _______________________________________________
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: Alastair Houghton <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>)
 >Re: Linker issue: static lib which uses a dylib (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: Linker issue: static lib which uses a dylib
  • 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