• 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
question building bsd static library in xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

question building bsd static library in xcode


  • Subject: question building bsd static library in xcode
  • From: Glen Beane <email@hidden>
  • Date: Wed, 20 Jul 2005 17:14:22 -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: Re: Instruction Scheduling and GCC 4.0...
  • Next by Date: Re: Xcode knowing about unsaved files in other apps?
  • Previous by thread: Re: Instruction Scheduling and GCC 4.0...
  • Next by thread: Developer Transition System
  • Index(es):
    • Date
    • Thread