• 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
Per architecture file subsets in a Compile files build phase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Per architecture file subsets in a Compile files build phase


  • Subject: Per architecture file subsets in a Compile files build phase
  • From: Daniel Rodriguez TroitiƱo <email@hidden>
  • Date: Tue, 17 Mar 2009 23:28:52 +0100

Hi,

I'm trying to adapt a project to use Xcode. This project has to be
compiled for several architectures (PPC & x86), and both architectures
have some files specific for the architecture (optimized version of
some functions, with some inline assembly). Then I have my target (a
library), which will be great if it can be a "fat" library.

My problem is that I haven't found a way to ask Xcode to compile some
files for one architecture, but not for other, and viceversa. I have
search high and low in Google and in the list archives and I haven't
found a solution.

The only thing I can think about is having separate targets for each
architecture (which is suboptimal, because I have to "transfer" the
changes between the two if I made changes on one of them), and then a
third target which mixes both libraries in one (I think I have read
somewhere about some tool to mix to binaries of different
architectures).

Is that my only possible way? Do Xcode allows this kind of file
subsets in one target?

Thank you very much.
 _______________________________________________
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: Per architecture file subsets in a Compile files build phase
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: dialect specific warnings/WARNING_CFLAGS ?
  • Next by Date: Re: Per architecture file subsets in a Compile files build phase
  • Previous by thread: Debugger failure within layered subclasses
  • Next by thread: Re: Per architecture file subsets in a Compile files build phase
  • Index(es):
    • Date
    • Thread