Compiling Intel code on iBook (OS 10.4.4 + XC2.2.1)
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