• 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
Making use of a static library?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making use of a static library?


  • Subject: Making use of a static library?
  • From: Graham Cox <email@hidden>
  • Date: Thu, 12 Jun 2008 10:29:15 +1000

Hi all,

This is not directly a Cocoa question, but I hope someone will know the answer to saving me jumping through all the hoops needed to join another list.

I have a project which builds a static library from some pure C code. I want to use this library in another Cocoa project. I've set up the cross-project dependency and included the .a file in the Cocoa project. When the Cocoa project builds it complains (warning) that the library "file is not of required architecture". Is this referring to whether it's PPC/i386/universal? In the library project, the architecture build setting only offers me 32 bit or 64 bit, not i386/ PPC.

What does the warning really mean and how should I fix it?


tia,


Graham _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Making use of a static library?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: When is a document moved or renamed?
  • Next by Date: Re: Unvending a distributed object
  • Previous by thread: Re: When is a document moved or renamed?
  • Next by thread: Re: Making use of a static library?
  • Index(es):
    • Date
    • Thread