Mail Archives: djgpp/1996/12/29/02:50:23
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 -