Date: Tue, 25 Feb 1997 11:23:18 +0200 (IST) From: Eli Zaretskii To: Nikita Proskourine , djgpp AT delorie DOT com Subject: Re: using old libraries with new DJGPP In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.