AsLan^
2005-12-26, 20:03
Here's something odd...
I didnt install the cross architecture stuff for xcode, and I can't make a release build...
Building target “CardTable” of project “CardTable” — (1 error, 2 warnings)
cd /Users/fredrick/CardTable
/usr/bin/gcc-4.0 -o /Users/fredrick/CardTable/build/CardTable.build/Release/CardTable.build/Objects-normal/i386/CardTable -L/Users/fredrick/CardTable/build/Release -F/Users/fredrick/CardTable/build/Release -filelist /Users/fredrick/CardTable/build/CardTable.build/Release/CardTable.build/Objects-normal/i386/CardTable.LinkFileList -framework Cocoa -arch i386 -mmacosx-version-min=10.3 -isysroot /Developer/SDKs/MacOSX10.3.9.sdk
/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)
/usr/bin/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: Undefined symbols:
___keymgr_dwarf2_register_sections
__cthread_init_routine
_atexit
_errno
_exit
_mach_init_routine
_NSApplicationMain
.objc_class_name_NSObject
_objc_msgSend
_objc_msgSendSuper
_printf
.objc_class_name_NSAutoreleasePool
.objc_class_name_NSDate
.objc_class_name_NSImage
.objc_class_name_NSThread
.objc_class_name_NSView
___CFConstantStringClassReference
collect2: ld returned 1 exit status
/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)
/usr/bin/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: Undefined symbols:
I only have ppc selected for my target build and debug works fine, its only when I try to build a release build that I get this error...
Anyway, I'm re-downloading xcode now to try and install the cross arch stuff, I just thought it was interesting is all.
I didnt install the cross architecture stuff for xcode, and I can't make a release build...
Building target “CardTable” of project “CardTable” — (1 error, 2 warnings)
cd /Users/fredrick/CardTable
/usr/bin/gcc-4.0 -o /Users/fredrick/CardTable/build/CardTable.build/Release/CardTable.build/Objects-normal/i386/CardTable -L/Users/fredrick/CardTable/build/Release -F/Users/fredrick/CardTable/build/Release -filelist /Users/fredrick/CardTable/build/CardTable.build/Release/CardTable.build/Objects-normal/i386/CardTable.LinkFileList -framework Cocoa -arch i386 -mmacosx-version-min=10.3 -isysroot /Developer/SDKs/MacOSX10.3.9.sdk
/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)
/usr/bin/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: Undefined symbols:
___keymgr_dwarf2_register_sections
__cthread_init_routine
_atexit
_errno
_exit
_mach_init_routine
_NSApplicationMain
.objc_class_name_NSObject
_objc_msgSend
_objc_msgSendSuper
_printf
.objc_class_name_NSAutoreleasePool
.objc_class_name_NSDate
.objc_class_name_NSImage
.objc_class_name_NSThread
.objc_class_name_NSView
___CFConstantStringClassReference
collect2: ld returned 1 exit status
/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)
/usr/bin/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: Undefined symbols:
I only have ppc selected for my target build and debug works fine, its only when I try to build a release build that I get this error...
Anyway, I'm re-downloading xcode now to try and install the cross arch stuff, I just thought it was interesting is all.