Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building for 10.3 target using X-Code 2.1



Hi,

I'm using X-Code 2.1 and building for a 10.3 target. If I were to accidentely use a 10.4
object, wouldn't the compiler tell me about it?


Here are some errors I'm getting....

mkdir "/Developer/testcode/On4 GUI031506/build/Release/On4 GUI031506.app/Contents/MacOS"
cd "/Developer/testcode/On4 GUI031506"
/usr/bin/gcc-4.0 -o "/Developer/testcode/On4 GUI031506/build/Release/On4 GUI031506.app/Contents/MacOS/On4 GUI031506" "-L/Developer/testcode/On4 GUI031506/build/Release" "-F/Developer/testcode/On4 GUI031506/build/Release" "-F/Developer/testcode/On4 GUI031506" -filelist "/Developer/Examples2/OmniGroup/Scripts/On4 GUI031506.build/Release/On4 GUI031506.build/Objects-normal/ppc/On4 GUI031506.LinkFileList" -framework Cocoa -framework WebKit -framework CoreData -framework Foundation -framework AppKit -arch ppc
/usr/bin/ld: Undefined symbols:
.objc_class_name_CIColor
.objc_class_name_CIFilter
.objc_class_name_CIVector
collect2: ld returned 1 exit status



Why is the linker trying to link in these 10.4 objects when I explicitly specify I want the
target to run on 10.3?


We've taken a lot of care not to use 10.4 stuff, but how can I be sure that the newer
Apple API's which were implemented in 10.3 aren't going to call 10.4 objects?


How can I identify which objects these are. The classes are specified, and I'm not knowingly
using ANY of these, but something is. How can I find out which ones they are?


I notice it is using the GCC 4.0 compiler. Should I set it up to build using the earlier
compiler? I remember learning we can change this... how is it done using 2.1 X-Code?


John

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.