Mail Archives: djgpp/1999/07/01/05:59:54
On Mon, 28 Jun 1999, TUNNEL wrote:
> Well, I have a problem, I want to compile several source files, the author
> suggests to do it using MAKE ALL after prompt but everytime I do it I get a
> message like this:
>
> "c:/djgpp/bin/ld.exe: cannot open -lg++: No such file or directory (ENOENT)"
>
> Seems that 'something' (sorrry, I'm not a computer wiz) called -lg++ is
> missing in the DJGPP directory, am I right?.
The linker looks for a library called libg++.a. In the DJGPP port, it
is called libgpp.a, since DOS doesn't allow a `+' in file names.
So the solution is to edit the Makefile and replace -lg++ with -lgpp
(that's a lower-case ell after the dash, not the digit one!).
- Raw text -