• 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: Universal Shared libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Universal Shared libraries


  • Subject: Re: Universal Shared libraries
  • From: Chris Espinosa <email@hidden>
  • Date: Mon, 6 Mar 2006 11:00:40 -0800


On Mar 6, 2006, at 9:09 AM, Mark Thomas wrote:

Hi,
I have converted a shared library XCode project to be universal now, but
when it creates ppc & i386 .dylib's it creates them separately not together,
like when doing an application.


I would prefer to have a single .dylib for both ppc & i386 is this
possible ?, as it seems the architecture allows this I think ?, as looking
inside frameworks the shared libraries there are both.

This is not only possible, it's the preferred behavior. Perhaps you are looking at the Debug build of the shared library, which is by default for the native architecture only? Your Release configuration for the shared library target should be building for both architectures, and the last stepp should be "CreateUniversalLibrary" which combines them.


If this is not happening, please post the build transcript so we can see what is going on.

Chris
_______________________________________________
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


References: 
 >Universal Shared libraries (From: Mark Thomas <email@hidden>)

  • Prev by Date: Universal Shared libraries
  • Next by Date: Re: Universal Shared libraries
  • Previous by thread: Universal Shared libraries
  • Next by thread: Re: Universal Shared libraries
  • Index(es):
    • Date
    • Thread