• 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: Linking against libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking against libraries


  • Subject: Re: Linking against libraries
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 17 Aug 2004 15:10:28 -0500

Dear Mr. Beginner,

What happens if you select Project->Add to Project..., type /usr/local/lib at the resulting file panel to get to that directory, and select libutil.a?

	-- F

On 17 Aug 2004, at 2:04 PM, Marvin Jones wrote:

I'm new to XCode and have been trying to figure out how to link an external library with a simple piece of C code using XCode (instead of a good old makefile; don't ask me why). For some reason I am finding this simple task problematic.

I have a library, say libutil.a, in /usr/local/lib and its header file, say util.h, in /usr/local/include. I also have a simple piece of C code, say main.c, in ~/, which is the main file in an XCode standard tool project.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Linking against libraries
      • From: Marvin Jones <email@hidden>
References: 
 >Linking against libraries (From: Marvin Jones <email@hidden>)

  • Prev by Date: Re: Xcode 1.5 - how to select Find results?
  • Next by Date: distributed building machines not on subnet
  • Previous by thread: Linking against libraries
  • Next by thread: Re: Linking against libraries
  • Index(es):
    • Date
    • Thread