• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • [Moderator] Re: cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386
      • From: cocoa-dev-admins <email@hidden>
    • Re: cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386
      • From: Bruce Truax <email@hidden>
  • Prev by Date: Re: observing dealloc
  • Next by Date: Re: cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386
  • Previous by thread: Re: NSTableColumn 'enabled' binding not in 10.3? Any others?
  • Next by thread: Re: cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386
  • Index(es):
    • Date
    • Thread