Apple Liars

On August 15, 2006, in General, by Neil Stevens

Quoting an email I got from the Apple Developer Connection today:

1 New Xcode 2.4 Release Available for Download

Xcode 2.4, the latest release of Apple’s integrated development environment for Mac OS X, is now available for download from the ADC Member Site. With this new release you can now develop for 64-bit Mac Pro Systems and create four-architecture Universal applications (32 and 64 bit for both Intel and PowerPC).


Sounds great, I thought, so I went and downloaded Xcode 2.4, and decided to try to compile a 64-bit PrBoom, but no go. It compiled the first four (C) files OK, but once it hit some Objective C…

cc -arch ppc64 -arch x86_64 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk  -Os -Wno-pointer-sign -Wno-packed  -fobjc-exceptions  -I. -IMAC -I/Library/Frameworks/SDL.framework/Headers  -I/Library/Frameworks/SDL_net.framework/Headers   -DHAVE_CONFIG_H -o "MAC/i_system.o" -c MAC/i_system.m
In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:42,
                 from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5,
                 from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5,
                 from MAC/i_system.m:51:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/objc/objc.h:34:6: error: #error 64-bit not supported

Well gee, what does that file say?

#if __ppc64__
    #error 64-bit not supported

Would removing that line help? Probably not:

~> file /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon: Mach-O fat file with 2 architectures /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (for architecture i386): Mach-O dynamically linked shared library stub i386 /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (for architecture ppc): Mach-O dynamically linked shared library stub ppc

No 64-bit arches there at all, so they’re lying. This Xcode release does not give you what you need to build those binaries, because you don’t have the SDK (probably called something like MacOSX10.5u.sdk) needed to do so!


Comments are closed.

Nima Jooyandeh facts.