From: kagenin AT usa DOT net (Kagenin) Newsgroups: comp.os.msdos.djgpp Subject: Re: ld.exe error Date: Thu, 25 Mar 1999 20:30:09 GMT Message-ID: <36fa9c24.1322900@news.jps.net> References: <01be7647$56b65ca0$LocalHost AT thendren> X-Newsreader: Forte Free Agent 1.11/32.235 NNTP-Posting-Host: 209.142.56.17 X-NNTP-Posting-Host: 209.142.56.17 X-Trace: 25 Mar 1999 21:04:39 -0800, 209.142.56.17 Lines: 48 X-NNTP-Posting-Host: 209.63.224.240 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Christopher Nelson" was feeling all groovy on Wed, 24 Mar 1999 15:40:36 -0700 when they posted : > >-----Original Message----- >From: Jan Dobrucki >Newsgroups: comp.os.msdos.djgpp >To: djgpp AT delorie DOT com >Date: Wednesday, March 24, 1999 4:00 AM >Subject: ld.exe error > > >>Hello, >> >>I've been coding in C in RHIDE 1.4 with no problems. But now when I >>have started to code in C++, I am unable to create .exe files. I get >>the following error message: >>"Creating test.exe >>Error: c:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or >>directory (ENOENT) >>There were so errors" >>So what can I do in this situation and in similar situations...? >>PS. I do have the file ld.exe in that directory and that's why I don't >>know what it is...thanks in advance. >>Jan Dobrucki > > >C++ requires a support package, the same as C. most all languages require >this. the C RTSP (run-time support package) is very small. stdcx, if i'm >not completely mistaken, is the run-time support package for C++. if you >downloaded all the c++ stuff, you should have this. this is required for >C++ compiles, for stuff like rtti. > It's more than that. He prolly already has them, but Rhide thinks it's named libstdcx.a when in fact it's called libstdcxx.a Read the Faq, section 8.7, where it tells you to add this line RHIDE_TYPED_LIBS.cc=stdcxx Add more lines, replacing .cc with whatever extension you want associated with C++ Source code. Kagenin "When the Going gets Weird, the Weird turn Pro" -Hunter S. Thompson