cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386
cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386
- Subject: cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386
- From: "Hans Kuder" <email@hidden>
- Date: Mon, 28 May 2007 21:12:53 -0400
Hello,
I'm trying to build a Universal Binary for a project that works fine under
the Debug (ppc) configuration using Xcode 2.4.1. I have set both my project
and target executable to link against /Developer/SDKs/MacOSX10.4u.sdk , and
both set to build for ppc and i386. Still, I get a host of warnings (and
subsequent undefined symbol errors as a result) of the type:
/usr/bin/ld: warning
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Cocoa.framework/Cocoa
cputype (18, architecture ppc) does not match cputype (7) for specified
-arch flag: i386 (file not loaded)
This gives rise to "Undefined symbols" errors for just about every symbol
found in a standard library or framework.
Searching Google for answers led me to try removing the "Separate PCH
symbols" option in the build configuration with the hope of forcing the
precompiled headers to link correctly, but that didn't make any difference.
Any ideas? Is my SDK borked? Any help would really be appreciated.
Thanks!
Hans
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden