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

Xcode project with arch-specific .a files


  • Subject: Xcode project with arch-specific .a files
  • From: Jeffrey Johnson <email@hidden>
  • Date: Wed, 15 Feb 2006 11:36:05 -0800

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

  • Follow-Ups:
    • Re: Xcode project with arch-specific .a files
      • From: Jim Ingham <email@hidden>
  • Prev by Date: Re: How are we supposed to paste text in XCode?
  • Next by Date: Re: Xcode project with arch-specific .a files
  • Previous by thread: Re: Xcode, Subversion, and locking
  • Next by thread: Re: Xcode project with arch-specific .a files
  • Index(es):
    • Date
    • Thread