• 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: What causes this and how can I fix it ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What causes this and how can I fix it ?


  • Subject: Re: What causes this and how can I fix it ?
  • From: Steve Mills <email@hidden>
  • Date: Thu, 20 Apr 2006 22:49:50 -0500

On Apr 20, 2006, at 19:53:39, Alec Carlson wrote:

I have a project with 6 targets. If I build one of the targets, Xcode
insists on recompiling my precompiled header multiple times:

Precompiling Sources/includes/myproject_prefix.h
Precompiling Sources/includes/myproject_prefix.h
Precompiling Sources/includes/myproject_prefix.h
Precompiling Sources/includes/myproject_prefix.h
Precompiling Sources/includes/myproject_prefix.h
Precompiling Sources/includes/myproject_prefix.h
Precompiling Sources/includes/myproject_prefix.h
Precompiling Sources/includes/myproject_prefix.h

It will compile one for each architecture, so if you're build a Universal binary, that's one for PPC and one for i386. It will also compile one for each language. Check the comment on the "C Dialects to Precompile" in your project or target settings, which lists 4 dialects; 'c', 'objective-c', 'c++', and 'objective-c++'. So if you have source files for each of those languages and are building both architectures, that's 8 pch files.


Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/


_______________________________________________ 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: What causes this and how can I fix it ?
      • From: "Isaac Wankerl" <email@hidden>
  • Prev by Date: /usr/i686-apple-darwin8/lib/ gcc problems from commandline
  • Next by Date: Re: Why no execinfo.h?
  • Previous by thread: [TIP] What causes [multiple precompiled headers] and how can I fix it ?
  • Next by thread: Re: What causes this and how can I fix it ?
  • Index(es):
    • Date
    • Thread