• 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
Xcode link CW library?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Xcode link CW library?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: good xcode book?
  • Next by Date: Re: NSObjCRuntime.h won't compile? Or .mm files?
  • Previous by thread: Re: good xcode book?
  • Next by thread: Re: Xcode link CW library?
  • Index(es):
    • Date
    • Thread