Re: Universal binary problem: ... cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
Re: Universal binary problem: ... cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
- Subject: Re: Universal binary problem: ... cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
- From: Felix Schwarz <email@hidden>
- Date: Sat, 11 Feb 2006 23:27:12 +0100
Hello Eric,
thank you for your prompt response!
This happens on a Intel iMac with the "/Developer/SDKs/
MacOSX10.4u.sdk" set as SDK path and the "Mac OS X 10.4 (Universal)"
SDK chosen in the "Get info" window for the entire project.
Ld is executed with these params:
-- cut --
Ld /Users/felix/builds/mdv/build/mdv.build/Development/POS.build/
Objects-normal/ppc/POS normal ppc
cd /Volumes/Development/CVS/macosx/mdv
/usr/bin/gcc-4.0 -o /Users/felix/builds/mdv/build/mdv.build/
Development/POS.build/Objects-normal/ppc/POS -L/Users/felix/builds/
mdv/build/Development -F/Users/felix/builds/mdv/build/Development -
filelist /Users/felix/builds/mdv/build/mdv.build/Development/
POS.build/Objects-normal/ppc/POS.LinkFileList -framework QuickTime -
framework QTKit -arch ppc -mmacosx-version-min=10.3 -framework
Foundation -framework AppKit -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-- cut --
Could this somehow be related to switching from XCode 2.1 to 2.2 to
2.2.1?
(I can't remember having seen such warnings in either 2.1 or 2.2,
haven't touched the project file since switching to 2.2.1)
Any more ideas on what might be going wrong here?
Best regards,
Felix
Am 11.02.2006 um 22:29 schrieb Eric Albert:
On Feb 11, 2006, at 1:17 PM, Felix Schwarz wrote:
while building my project as Universal Binary, I get messages like
this on link time:
/usr/bin/ld: warning /Library/Caches/com.apple.Xcode.501/
SharedPrecompiledHeaders/AppKit-cfnouwnuiumyhydesmhmkrpudjpj/
AppKit.h.gch.o cputype (7, architecture i386) does not match
cputype (18) for specified -arch flag: ppc (file not loaded)
What is going wrong here? I couldn't find any clues regarding
this, so any input on what might cause this problem is very welcome.
You have to use the 10.4 (Universal) SDK to build your project.
Your system libraries aren't universal.
Hope this helps,
Eric
_______________________________________________
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