• 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
Re: Xcode 2.2 won't build ppc only?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.2 won't build ppc only?


  • Subject: Re: Xcode 2.2 won't build ppc only?
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 19 Apr 2006 23:35:34 -0700


On Apr 19, 2006, at 10:54 PM, Mike Hanna wrote:

hi all, 

if I create a pristine project in XCode 2.2. project > get info > general > cross develop using sdk.. and set the sdk to 10.3.9.. I also remove the CoreData frameword reference. 

If I do a release build right away I get the warning: 

/usr/bin/ld: warning /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/Cocoa.framework/Cocoa cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)

and a small set of undefined symbols.

___keymgr_dwarf2_register_sections
__cthread_init_routine
_atexit
_errno
_exit
_mach_init_routine
_NSApplicationMain
collect2: ld returned 1 exit status


however, it's a ppc AlBook and the build setting is to $(NATIVE_ARCH). any ideas why it's trying build something fat?

XCode 2.2, 10.4.6

The release build is by default {i386, ppc).  Check the Project > Edit Project Settings inspector for the Release build and make sure it's set to PPC only, along with the Project > Edit Active Target settings.

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

References: 
 >Xcode 2.2 won't build ppc only? (From: Mike Hanna <email@hidden>)

  • Prev by Date: Xcode 2.2 won't build ppc only?
  • Next by Date: Matrix pointers
  • Previous by thread: Xcode 2.2 won't build ppc only?
  • Next by thread: Re: Xcode 2.2 won't build ppc only?
  • Index(es):
    • Date
    • Thread