• 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 project: bsd static lib question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xcode project: bsd static lib question


  • Subject: xcode project: bsd static lib question
  • From: Glen Beane <email@hidden>
  • Date: Thu, 21 Jul 2005 13:52:38 -0400

I have an xcode project that builds a bsd static library (.a)

This library is used to communicate to an IOKit driver from a user unix-style application.

my problem is i do not want the user to have to pass -framework IOKit to gcc, but I get undefined symbols if I include the .a library without passing -framework IOKit. I tried adding IOKit.framework to the target in the xcode project, but that did not help.


I want this to work

gcc  userapp.c -lmylib

instead of

gcc userapp.c -lmylib -framework IOKit
_______________________________________________
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


  • Prev by Date: InterfaceBuilder: how to let an object contains other objects?
  • Next by Date: Re: <incomplete_type> in the debugger
  • Previous by thread: InterfaceBuilder: how to let an object contains other objects?
  • Next by thread: trouble debugging a framework
  • Index(es):
    • Date
    • Thread