• 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: Markus Hitter <email@hidden>
  • Date: Thu, 29 Dec 2005 12:05:39 +0100


Am 29.12.2005 um 06:56 schrieb Bill Northcott:

Frameworks are not hard. If you are packaging a GNU library, all that is needed is to set up the directory hierarchy, put the headers in Headers and the dylib with the same name as the framework and the appropriate install_name. You can use a symlink with the framework name if you want.. Install names can be relative as well as absolute so that hierarchies of frameworks can be 'drag n' drop' installed.

One problem I've run recently into is, Linux sources tend to clutter / usr/.../include and to address their headers directly:


#include <mylib.h>
#include <mybunch.h>

While, when packaged as Framework, one has to use

#include <mylib/mylib.h>
#include <mylib/mybunch.h>

The only way to deal with this, aside from changing all the sources, is to set up header search paths, right?


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




_______________________________________________ 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: Bill Northcott <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>)

  • Prev by Date: Re: Question about dynamic and static libraries
  • Next by Date: Re: Generating multiple localizations when creating a new project
  • Previous by thread: Re: Question about dynamic and static libraries
  • Next by thread: Re: Question about dynamic and static libraries
  • Index(es):
    • Date
    • Thread