Xcode link CW library?
Xcode link CW library?
- Subject: Xcode link CW library?
- From: Jeffrey Koppi <email@hidden>
- Date: Thu, 22 Sep 2005 07:12:39 -0700
Can Xcode 2.1 link in a static library (Mach-O) that was built with CodeWarrior 9.5? I scanned all the usual lists and groups, and there has been just enough talk to make me think that it might work, but not a definitive answer.
If I rename my library and add it to the Xcode project I get the following error message from Xcode:
libFoo.a bad magic number (not a Mach-O file)
Someone suggested the following command:
$ mwld -obj /DevSource/Foo.lib -o /DevSource/libFoo.o
Adding the resulting libFoo.o to the Xcode project gives this error message:
/usr/bin/ld: /DevSource/libFoo.o section 10 (__DATA,__nl_symbol_ptr) in load command 0 has relocation entries which it shouldn't for its type (flags)
Is this possible?
Thanks,
Jeff
_______________________________________________
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