delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/02/08:31:31

Date: Thu, 2 Mar 2000 11:30:54 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: abacuc <f DOT onorati AT tiscalinet DOT it>
cc: djgpp AT Delorie DOT com
Subject: Re: information
In-Reply-To: <89kap8$b4t$1@lacerta.tiscalinet.it>
Message-ID: <Pine.SUN.3.91.1000302113016.24728Q-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 2 Mar 2000, abacuc wrote:

> I have two files:
> 1)libmat.a
> 2)libmat.h
> 
> what can I do now to invoke libmat in my programs without explicit link call
> (like gcc -o myprogram.o libmat.o)???

Put libmat.a into your lib directory, and append -lmat (that's a
letter ell, not a digit one) to your link command line.

This is in the FAQ, btw (section 8.22).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019