Preccompiled header compatibility
Preccompiled header compatibility
- Subject: Preccompiled header compatibility
- From: email@hidden (Stefan Haller)
- Date: Mon, 31 Aug 2009 15:24:55 +0200
I need to find out whether a precompiled header is compatible with the
current version of gcc that I'm building with. To do this, I remember
the version that the precompiled headers were built with (by using the
last line of the output of gcc -v), and when building again I check that
it matches the current gcc; if it doesn't, I know I need to delete the
precompiled headers.
This has worked well with Devtools updates in the past, but it failed
for the upgrade from Xcode 3.1.3 on 10.5 to Xcode 3.2 on Snow Leopard.
The build number returned by "gcc-4.0 -v" is the same for both:
gcc version 4.0.1 (Apple Inc. build 5493)
but still the precompiled headers are incompatible.
Is there some other information besides gcc -v that I can query for this
purpose?
--
Stefan Haller
Berlin, Germany
http://www.haller-berlin.de/
_______________________________________________
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