Mail Archives: djgpp/1998/03/27/21:39:28
Geoff Schoenbaum, MD, PhD wrote:
>
> I posted this a bit ago, but nothing is there - forgive me if it's a
> repeat. I have found solutions to my original problem in the online
> rhide documentation. Now however I get the following errors when I
> build my simple "hello" c++ program in rhide:
>
> error:c:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or
> directory (ENOENT)
Apparently, the several recent posts containing the solution to this
problem have somehow been lost in the vastness of Usenet. The problem
is a mis-feature of RHIDE which hardcodes the name of the C++ library as
'-lstdcx' instead of '-lstdcxx'. To fix it, do one of the following:
- Copy (do not rename!) libstdcxx.a to libstdcx.a. This will satisfy
RHIDE as well as the rest of the compiler tools.
- Fix RHIDE by inserting the following line into
%DJDIR%/share/rhide/rhide.env (create this file if it does not already
exist):
RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx
The next version of RHIDE will (presumably) have this fix hardcoded.
hth!
--
---------------------------------------------------------------------
| John M. Aldrich |"Men rarely (if ever) manage to dream |
| aka Fighteer I |up a god superior to themselves. Most |
| mailto:fighteer AT cs DOT com |gods have the manners and morals of a |
| http://www.cs.com/fighteer |spoiled child." - Lazarus Long |
---------------------------------------------------------------------
- Raw text -