Re: Xcode 2.2 precomp link warning
Re: Xcode 2.2 precomp link warning
- Subject: Re: Xcode 2.2 precomp link warning
- From: Chris Espinosa <email@hidden>
- Date: Sun, 13 Nov 2005 10:50:04 -0800
On Nov 13, 2005, at 10:25 AM, Eric Albert wrote:
/usr/bin/ld: warning
/Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/AppKit-
blqywaoivjvvmxbulbeesgzoomdp/AppKit.h.gch.o cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file
not loaded)
How bad does this warning rank on the badness scale? Is the linked
product horribly broken as a result or is this just a minor thing?
In both cases here, the thing that stands out as odd is that the
linker is being told to pull in your precompiled header. That doesn't
make any sense. If you can figure out why that's happening, I bet
you'll be able to track down the real problem. Perhaps the .pch file
is in your compile sources build phase or something like that?
Is there any chance that your Compile Sources build phase might have
the precompiled header (the .gch) listed in it? In that case Xcode
will try to recompile the precompiled header to create an object file,
then try to link that object file into the executable.
Chris
_______________________________________________
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