Mail Archives: djgpp/1997/02/25/04:38:48
On Tue, 25 Feb 1997, Eli Zaretskii (that's me) wrote:
> On Mon, 24 Feb 1997, Nikita Proskourine wrote:
>
> > Another annoying thing: I thought that -l bug was fixed in ld (I am
> > using ld to bypass libc.a. But when I provide -lpatch, it says that file
> > -lpatch is not found and doesn't even look for libpatch.a.
>
> I think the -lname conversion to libname.a is a feature of gcc, ld
> doesn't know anything about it.
Sorry, I was wrong: ld *does* know about -lname. But it doesn't know
about the LIBRARY_PATH environment variable, so you might need to use -L
option to tell it where to look for the libraries.
- Raw text -