Re: Universal binary problem: ... cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
Re: Universal binary problem: ... cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
- Subject: Re: Universal binary problem: ... cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
- From: Mark Lentczner <email@hidden>
- Date: Tue, 7 Mar 2006 13:14:26 -0800
AHA! Found the culprit!
-gfull
This causes the headers to be built incorrectly in the cpp, ppc
case! Or rather, only in this case is a .gch.o file built with the
precompiled header, and in the cpp, ppc case built for the wrong
architecture.
I had it on to support dead code stripping. Which, sigh, I suppose I
can't have!
So, the short story is- If you have precompiled headers AND -gfull,
AND a universal build AND cpp code, THEN it doesn't work.
- Mark
_______________________________________________
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