Date: Sun, 6 Sep 1998 12:29:22 +0300 (IDT) From: Eli Zaretskii To: Vadim Pokotilov cc: djgpp AT delorie DOT com Subject: Re: Libraries In-Reply-To: <6so094$m0d$1@birch.prod.itd.earthlink.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Fri, 4 Sep 1998, Vadim Pokotilov wrote: > Most makefiles do something like "gcc file.c -o file.exe -lalleg" > > When I run make it is unable to find the allegro library (which is in the > same dir as the makefile) and gives me several link-time errors. You could either install liballeg.a in the DJGPP's lib subdirectory, or add the -L. switch to the gcc command line, which will add the current directory (note the dot after -L) to the list of directories searched by gcc for libraries.