• 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: gcc 3.3, Precompiled Headers and Project Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc 3.3, Precompiled Headers and Project Builder


  • Subject: Re: gcc 3.3, Precompiled Headers and Project Builder
  • From: Jeff Harrell <email@hidden>
  • Date: Mon, 7 Jul 2003 23:09:11 -0500

On Monday, July 7, 2003, at 11:00 PM, Andrew Thompson wrote:

So my question is, has anyone figured out how to do 2 and 3 yet?

Yup.

Can it be done without altering the JAM stuff?

Yup.

What about the Cocoa/Carbon frameworks? It seems precompiled headers are not installed for those...?

Nope. But if you're willing to live with a little extra compile time the first time you build your project, we can get around that.

The short version is that you can create a legacy makefile target that creates and maintains a precompiled version of your project's prefix header. Then make your normal target(s) dependent on this PCH target.

The long version (although not exactly a complete or well-written one) is here:

http://www.cocoadev.com/ index.pl?UsingPCHWithGCCThreeThreeAndProjectBuilder

--
email@hidden
http://homepage.mac.com/jharrell
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: gcc 3.3, Precompiled Headers and Project Builder
      • From: Andrew Thompson <email@hidden>
References: 
 >gcc 3.3, Precompiled Headers and Project Builder (From: Andrew Thompson <email@hidden>)

  • Prev by Date: Re: gcc 3.3, Precompiled Headers and Project Builder
  • Next by Date: Re: Field editor delegate doesn't work
  • Previous by thread: Re: gcc 3.3, Precompiled Headers and Project Builder
  • Next by thread: Re: gcc 3.3, Precompiled Headers and Project Builder
  • Index(es):
    • Date
    • Thread