Linking DefaultRuneLocale?
Linking DefaultRuneLocale?
- Subject: Linking DefaultRuneLocale?
- From: Ian Joyner <email@hidden>
- Date: Sat, 28 Apr 2007 13:28:54 +1000
Don't seem to have had any luck with this one on the Cocoa-dev list,
so I'll try Xcode even though I don't like crossposting:
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
_______________________________________________
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