Mail Archives: djgpp/1998/09/06/05:30:38
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.
- Raw text -