Re: Using Libraries on XCode
Re: Using Libraries on XCode
- Subject: Re: Using Libraries on XCode
- From: Sailesh Agrawal <email@hidden>
- Date: Thu, 11 Aug 2005 11:21:37 -0700
Peter S Lau wrote:
On 8/10/2005 9:13 AM, "olavi Sakari" <email@hidden> wrote:
I am porting an application from Code Warrior 8.3 to XCode 2.1
I have a small query,do the static libraries compiled on Code Warrior 8.3 link
successfully on XCode 2.1 just by changing the name from abc.lib -> libabc.a
or DO I have to recompile the whole of the library code in XCode 2.1 and then
use that newly built library in my main application.
Any reply will really be appreciated.
I guess it depends on the static library... If it's straight C interface, no
name mangling from C++, I would think it's okay... Ppc code is ppc code is
ppc code, right?
Not really. The object format that CodeWarrior produces is different.
Running this command can get rid of the "Bad magic number" issue that
you'll have:
* mwld -object mylib.lib -o mylib.o*
But you'll still run into lots of other issues.
_______________________________________________
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