From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: c++ Date: Wed, 15 Apr 1998 18:51:02 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 34 Message-ID: <353539D6.284D@cs.com> References: <353467E2 DOT 61730534 AT connexus DOT net DOT au> NNTP-Posting-Host: ppp228.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Peter Russell wrote: > > Well guys I guess you would rank me a beginner. I have set up djgpp and > got it working with allegro ok but when it is not set up for working > with allegro (in rhide that is). Still working in C++ I get this error > msg. > > error: F:\djgpp\bin\ld.exe: cannot open -lstdcx: no such file or > directory (ENOENT) RHIDE 1.4 wasn't designed with gcc 2.8.0 in mind. The solution is simple: edit the file %DJDIR%/share/rhide/rhide.env (or create it if it doesn't already exist), and put the following line in it: RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx After doing this, RHIDE should link C++ programs correctly. BTW, putting the setting in 'rhide.env' is a better option than putting it in 'djgpp.env', because it's very likely that the next version of RHIDE will have the problem corrected. > Also how can I switch the setting to "gpp" in rhide instead of gcc. You don't need to. The only reason to use 'gpp' is to link the C++ libraries, which RHIDE does all by itself. -- --------------------------------------------------------------------- | 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 | ---------------------------------------------------------------------