• 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
Linking behavior for dylibs without the lib prefix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking behavior for dylibs without the lib prefix


  • Subject: Linking behavior for dylibs without the lib prefix
  • From: Gabriele de Simone <email@hidden>
  • Date: Wed, 11 Jan 2006 13:41:22 -0500

There's been lots of (useful) talk on dynamic libraries, but there is one issue I have personally been unable to understand from the docs or from this list.
How is linking against a dynamic library that does not have the canonical "lib" prefix any different than linking against one with the proper name?


So far, I have collected the following info: the library is not linked via the -l<someLibrary> argument, and the full path to the library is passed in.

Does linking work the same even if the library is not specified as part of a -l argument?
And if the dylib is not linked via the -l argument, does the "Library Search Paths" build setting (-L) still have any effect?


Thanks
Gabe

_______________________________________________
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: Linking behavior for dylibs without the lib prefix
      • From: Andrew Pontious <email@hidden>
    • Re: Linking behavior for dylibs without the lib prefix
      • From: Eric Albert <email@hidden>
  • Prev by Date: Re: Just when does an application commit to PowerPC vs. Intel?
  • Next by Date: Re: Just when does an application commit to PowerPC vs. Intel?
  • Previous by thread: Re: Mixed Distributed Builds
  • Next by thread: Re: Linking behavior for dylibs without the lib prefix
  • Index(es):
    • Date
    • Thread