Re: Building ObjC and C++ fails on 10.2
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.