From: "David" Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP Help Date: Sun, 19 Apr 1998 22:20:48 +0100 Organization: Virgin Net Usenet Service Lines: 40 Message-ID: <6hdq51$dv0$1@nclient3-gui.server.virgin.net> References: <1109_892917879 AT vtech> <3538DBBB DOT 19AA AT cs DOT com> NNTP-Posting-Host: 194.168.63.70 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk John M. Aldrich wrote in message <3538DBBB DOT 19AA AT cs DOT com>... >david DOT ball4 AT virgin DOT net wrote: >> >> I'm new to C++ and have been following a tutorial in a magazine (PC Plus), using the software they recently gave away (Borland Turbo C++), a draw back of the software is compiled programs can only be run from within the IDE. So I downloaded djgpp and RHIDE to use instead, I am very pleased with the software but have a problem. >> >> When i go to compile and a program i get the following error:- >> >> Error: c:\djgpp\bin\ld.exe : cannot open -lstdcx: No such file or directory (ENOENT) >> >> I get the same problem if i try to compile from the command line, >> thanks for any help, > >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. > >If you are tryiing to compile from the command line, make sure you >either use 'gpp' instead of 'gcc', or use the correct name for the >library ('-lstdcxx'). See chapter 8.2 of the DJGPP FAQ for information >on making your system compatible with both long and short filenames. > >-- I get the same problem but it states couldn't find: Couldent find -stdcxx instead of -stdcx this lead me to think mayby part of the compiler is missing.