Date: Fri, 22 Jan 1999 22:05:23 -0500 Message-Id: <199901230305.WAA17043@envy.delorie.com> From: DJ Delorie To: tlords AT ida DOT net CC: djgpp AT delorie DOT com In-reply-to: <01be466f$01859b40$96ab8dd0@tlords> Subject: Re: Help It compiles, but won't make an .exe References: <01be466f$01859b40$96ab8dd0 AT tlords> Reply-To: djgpp AT delorie DOT com > 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)