• 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: Xcode project with arch-specific .a files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode project with arch-specific .a files


  • Subject: Re: Xcode project with arch-specific .a files
  • From: Jim Ingham <email@hidden>
  • Date: Wed, 15 Feb 2006 11:48:54 -0800

You could also just use "lipo" to stick the .a files together, and then the linker will find the correct architecture from the universal .a file.

Jim

On Feb 15, 2006, at 11:36 AM, Jeffrey Johnson wrote:

Hello,

I have .a's provided to me from an outside source to include in my Xcode project. I'm able to drag the .a files into the XCode project and everything just works, but now, with the two architectures, I have two directories of .a files with the same file names.

How do I get Xcode to to link the appropriate .a file with the appropriate archictecture and end up with a properly constructed universal binary? in the UI there are checkboxes to assign a file to a given target, but an architecture is a configuration setting.

Could I pull the .a's out of the Xcode file listing entirely and create a OTHER_LDFLAGS_i386 entry like "-L/path_to_my_intel_libs/ - lfoo" and OTHER_LDFLAGS_ppc = "-L/path_to_my_ppc_libs/ -lfoo" ? Should this work?


Thanks Jeffrey Johnson Macintosh Development Wavefunction, Inc. _______________________________________________ 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

_______________________________________________ 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: 
 >Xcode project with arch-specific .a files (From: Jeffrey Johnson <email@hidden>)

  • Prev by Date: Xcode project with arch-specific .a files
  • Next by Date: Beating XCode's key buffer
  • Previous by thread: Xcode project with arch-specific .a files
  • Next by thread: Beating XCode's key buffer
  • Index(es):
    • Date
    • Thread