Mail Archives: djgpp/1999/01/19/04:48:36
On Mon, 18 Jan 1999, Andy Juell wrote:
> c:\djgpp\bin\ld.exe: cannot open -lstdcxx: No such file or directory
> (ENOENT)
>
> I unzipped ALL the files in the appropriate distribution, and found
> no file by that name, so I'm really not sure what it is I'm missing.
You are missing the explanations in section 8.7 of the FAQ. The
argument -lstdcxx passed to the linker instructs it to look for a
library libstdcxx.a in the C:\DJGPP\LIB directory. If this file is
not found, the linker then falls back to looking for a file -lstdcxx
verbatim (since such file names are possible), which also fails.
But the real problem is that it cannot find libstdcxx.a; section 8.7
explains how to fix that.
- Raw text -