help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking with libraries


From: Allan Wind
Subject: Re: Linking with libraries
Date: Thu, 14 Feb 2008 20:58:47 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

On 2008-02-14T14:24:46-0800, Travis wrote:
> What is a .a file?

It an archive of (multiple) object files.  Use the ar command to examine 
it.

> I am looking to use this library such that when I do a #include
> "mylib.h", it knows where to find that library and compile against it.

The manual page for gcc discusses this, and here was one of the first 
hits I got for a search on the subject matter:
http://www.delorie.com/djgpp/v2faq/faq8_22.html


/Allan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]