• 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 13:20:04 +0100

On 15 Aug 2007, at 13:11, Simon Raisin wrote:

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. :(

Where does this dylib come from? If you drag it into your project in the same way that you did with the static library, you should be able to set the ordering by dragging the static library and the dylib up and down in the project tree (on the left hand side).


You shouldn't need to use the -l switch manually in Xcode except in special cases.

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