Mail Archives: djgpp/1999/01/22/22:07:20
> I get the error:
> Error: d:/djgpp/bin/ld.exe cannot open -lstdcx: No such file or directory
> (ENOENT)
This assumes you've *installed* libstdcxx.a (you should have
d:/djgpp/lib/libstdcxx.a):
If you're using gxx, try g++ (or visa versa)
If you're putting the -lstdcx there youreself, try -lstdcxx
If all else fails, rename libstdcxx.a to libstdcx.a
If you're using rhide, there's a way to tell it to use -lstdcxx (two
x's) instead (read gnu/gcc-2.81/problems.txt):
RHIDE-1.4
Q) When trying to link C++ program RHIDE-1.4 returns error message
ld.exe: cannot open -lstdcx: No such file or directory (ENOENT)
A) The name of C++ library has changed since port of gcc-2.7.2.1.
The fix for this problem is add line
RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx
to %DJDIR/share/rhide/rhide.env. Or add 2 lines
[rhide]
RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx
to Your DJGPP.ENV. An example of DJGPP.ENV with this fix is in
directory gnu/gcc-2.81 (archive gcc281b.zip)
- Raw text -