• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using Libraries on XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Using Libraries on XCode
      • From: Jim Ingham <email@hidden>
References: 
 >Re: Using Libraries on XCode (From: Peter S Lau <email@hidden>)

  • Prev by Date: Re: PB == Xcode?
  • Next by Date: Re: Creating Xcode project templates
  • Previous by thread: Re: Using Libraries on XCode
  • Next by thread: Re: Using Libraries on XCode
  • Index(es):
    • Date
    • Thread