www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/29/02:50:23

Date: Sun, 29 Dec 1996 09:38:20 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: John Lathrop <lathropj AT elite DOT net>
cc: "djgpp AT delorie DOT com" <djgpp AT delorie DOT com>
Subject: Re: Help With Make File
In-Reply-To: <199612290409.UAA18713@almond.elite.net>
Message-ID: <Pine.SUN.3.91.961229093606.10388S-100000@is>
MIME-Version: 1.0

On Sat, 28 Dec 1996, John Lathrop wrote:

> but, I get the message "d:/djgpp/bin\ld.exe: cannot open -ltap: No such file
> or directory (ENOENT)".  Nevertheless, everything works when I copy libtap.a
> to d:/djgpp/lib/.

You need to add -L. to the gcc switches, for it to find libtap.a in any 
directory other than d:/djgpp/lib (which is searched by default).

> 2. Related to the above problem, isn't the following supposed to force a
> search of the current directory for libtap.a:
> 
> 	L_PARAMS=-Wall -I./ $(DEBUG) -o

No, -I. only searches for include files.  Use -L. for libraries.

- Raw text -


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