• 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: Creating import libs on Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating import libs on Xcode


  • Subject: Re: Creating import libs on Xcode
  • From: "Sukhvinder Pal Singh" <email@hidden>
  • Date: Mon, 1 Dec 2008 16:22:38 +0530

What I am trying here is that The app dynamically loads the loadable bundles, But there are bundles that use other bundles through the 'stub' of the bundle. E.g: Bundle B is linked to the stub of bundle A(that exports some symbols) and both these bundles are loaded by the app. Is that possible?

On Fri, Nov 28, 2008 at 3:57 PM, Jean-Daniel Dupas <email@hidden> wrote:
AFAK, you cannot link an executable on a mach-o bundle, so there is not reason to try to do this.

Le 28 nov. 08 à 11:22, Sukhvinder Pal Singh a écrit :

I am creating a bundle not dylib and hence I get the error strip: -c can't be used on non-dynamic library. Any suggested resolution.

On Fri, Nov 28, 2008 at 1:56 PM, Jean-Daniel Dupas <email@hidden> wrote:
You cannot create such static library, but you can create a dylib stub, that is a dylib that contains all symbols, but no code.
That what the Xcode SDKs contains.

strip -c libFoo.dylib -o libFoo_stub.dylib


Le 28 nov. 08 à 08:07, Sukhvinder Pal Singh a écrit :

There is an option for creating import libs on MSVC viz. /IMPLIB filename. How can I achieve this on XCode. I dont want to link directly to the dylib and hence want an import lib created which can be linked against. If XCode does not have such an option please suggest any tool that can extract all exported symbols from a dylib to create a static lib that can be linked against.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)

This email sent to email@hidden




 _______________________________________________
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: Creating import libs on Xcode
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: UIImageView without using the Interface Builder?
  • Next by Date: Re: Creating import libs on Xcode
  • Previous by thread: Re: UIImageView without using the Interface Builder?
  • Next by thread: Re: Creating import libs on Xcode
  • Index(es):
    • Date
    • Thread