• 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
Compiling Intel code on iBook (OS 10.4.4 + XC2.2.1)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling Intel code on iBook (OS 10.4.4 + XC2.2.1)


  • Subject: Compiling Intel code on iBook (OS 10.4.4 + XC2.2.1)
  • From: Peter <email@hidden>
  • Date: Wed, 25 Jan 2006 18:12:57 +0800

I am trying to compile my existing source into Intel code on my iBook (PPC) but it fails during linking. It seems my version of OS X (10.4.0 upgrade to 10.4.4) does not have Intel libraries + framework. Xcode version is 2.2.1.

Checking Dependencies
Ld "/Users/peter/Project/MyApp/build/Debug/MyApp.app/Contents/MacOS/ MyApp" normal i386
cd /Users/peter/Project/MyApp
/usr/bin/g++-4.0 -o /Users/peter/Project/MyApp/build/Debug/ MyApp.app/Contents/MacOS/MyApp
-L/Users/peter/Project/MyApp/build/Debug -L/Users/peter/Project/ MyApp
-F/Users/peter/Project/MyApp/build/Debug
-filelist /Users/peter/Project/MyApp/build/MyApp.build/Debug/ MyApp.build/Objects-normal/i386/MyApp.LinkFileList
-framework Cocoa IOKit -arch i386 -mmacosx-version-min=10.4
/usr/bin/ld: warning /System/Library/Frameworks/Cocoa.framework/Cocoa cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning /System/Library/Frameworks/IOKit.framework/IOKit cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
collect2: ld returned 1 exit status


I thought the latest version of OS X will have frameworks for Intel.

How do I compile Intel code or Universal code on my iBook or Mac PowerPC ?

Does it means developer have to get DTK or Mac Intel to compile/link Intel code ?

Thanks in advance.


Peter. _______________________________________________ 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
  • Follow-Ups:
    • Re: Compiling Intel code on iBook (OS 10.4.4 + XC2.2.1)
      • From: j o a r <email@hidden>
    • Re: Compiling Intel code on iBook (OS 10.4.4 + XC2.2.1)
      • From: Frederick Cheung <email@hidden>
  • Prev by Date: Re: -L: directory name missing
  • Next by Date: Re: Compiling Intel code on iBook (OS 10.4.4 + XC2.2.1)
  • Previous by thread: Re: Linking debug/release app with debug/release framework?
  • Next by thread: Re: Compiling Intel code on iBook (OS 10.4.4 + XC2.2.1)
  • Index(es):
    • Date
    • Thread