Mailing Lists: Apple Mailing Lists

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

DefaultRuneLocale?



I'm trying to port something from an external environment to work in both that environment and Xcode with Cocoa. I can build the sample program OK linking to AppKit, Foundation, and CoreData. However, when I run the application (in terminal and Xcode), I get:

>>>>>
ian:W_code ian 22:50 518> sample
dyld: Symbol not found: __DefaultRuneLocale
Referenced from: /Volumes/User/Users/ian/Development/Eiffel/Cocoa/ Sample/EIFGENs/sample/W_code/./sample
Expected in: /System/Library/Frameworks/CoreData.framework/ Versions/A/CoreData


Trace/BPT trap
<<<<<

I believe that DefaultRuneLocale might be in libSystem.dylib in the OS 10.4 sdk, but how do I get gcc to link to it (without Xcode)? My link command looks like:

gcc -o sample -O0 -pipe -no-cpp-precomp -fno-common -fPIC -I. - I../../../.. C1/Cobj1.o E1/eoption.o ../../../build/Debug/ Obj-C.o -framework AppKit -framework Foundation -framework CoreData / Developer/SDKs/MacOSX10.4.0.sdk/usr/lib/libSystem.dylib -lm

Thanks
Ian

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/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.