• 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: Building ObjC and C++ fails on 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building ObjC and C++ fails on 10.2


  • Subject: Re: Building ObjC and C++ fails on 10.2
  • From: Finlay Dobbie <email@hidden>
  • Date: Fri, 30 Aug 2002 20:51:44 +0100

On Friday, August 30, 2002, at 08:24 pm, John Nairn wrote:

I can get the build to work if I remove "-cpp-procomp" from the build line.

I used that in the past because it dramatically speed up compiling of ObjC with C++ code. Is it no longer needed? Its function (I believe) was to have c++ use precompiled headers.

-cpp-precomp isn't needed with gcc 3.1, I don't think. gcc 3.1 uses the new "PCH" format precompiled headers, see the compiler release notes.

You can still use -cpp-precomp with gcc 2.95.2 on OS X, but you need to "sudo fixPrecomps -gcc2" first since the precompiled headers aren't build by default.

-- Finlay
_______________________________________________
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.

References: 
 >Re: Building ObjC and C++ fails on 10.2 (From: John Nairn <email@hidden>)

  • Prev by Date: Re: Open an URL contained in an NSString
  • Next by Date: Using Jar file as a library doesn't work in 10.2
  • Previous by thread: Re: Building ObjC and C++ fails on 10.2
  • Next by thread: focus follows cursor/clickthrough again
  • Index(es):
    • Date
    • Thread