From: happy303 AT hotmail DOT com (happy303) Newsgroups: comp.os.msdos.djgpp Subject: Re: Gettin Rhide to compile c++ programs Message-ID: <367eea6f.17830371@news.videotron.ca> References: <367eac07 DOT 1852410 AT news DOT videotron DOT ca> X-Newsreader: Forte Free Agent 1.11/32.235 Lines: 57 Date: Tue, 22 Dec 1998 00:42:58 GMT NNTP-Posting-Host: 207.96.144.15 X-Complaints-To: abuse AT videotron DOT net X-Trace: weber.videotron.net 914287218 207.96.144.15 (Mon, 21 Dec 1998 19:40:18 EDT) NNTP-Posting-Date: Mon, 21 Dec 1998 19:40:18 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 21 Dec 1998 20:24:37 GMT, happy303 AT hotmail DOT com (happy303) wrote: WOOHOO, ok now it works, thanx to my somewhat M$ way of solving problems. I installed the latest rhide beta and now things seems fixed. now the file is compiled using -lstdcxx from rhide dunno why, dunno what i did but it works. Now i can program for dos protected mode instead of real-mode or winblows... I'm posting this crap in case someone encounters the same problem as me. see ya! >I installed djgpp and rhide yesterday. Since then i've been trying to >figure out how to get it to compile c++ programs. When i create the >hello world example like indicated in the rhide docs, it works. C >programs compile and work well. But c++ just don't want to work, i >read docs for 2-3 hours now and i don't know how to fix this error: > > Error: f:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or >directory (ENOENT) > >i set up the environment variables in autoexec.bat like said in the >docs. > >when i press F9 to get it to link (as it apparently compiles well) >i see that rhide gives this command line: > >executing: >gcc -o hello.exe hello.o -lstdcx > >Thanks a lot, i'm sure i miss some basic info to get it to work... > >I'm running rhide and djgpp in a dos box under windows 95 > >In case that helps, here is what i installed (just re downloaded them >an hour ago to be sure it wasn't the problem) > >v2/copying.dj DJGPP Copyright info 2 kb >v2/djdev202.zip DJGPP Basic Development Kit 1.4 mb >v2/faq211b.zip Frequently Asked Questions 551 kb >v2/readme.1st Installation instructions 14 kb >v2apps/rhide14b.zip RHIDE 1.6 mb >v2gnu/bnu281b.zip Basic assember, linker 1.8 mb >v2gnu/gcc281b.zip Basic GCC compiler 1.3 mb >v2gnu/gpp281b.zip C++ compiler 1.2 mb >v2gnu/lgp2811b.zip C++ libraries 583 kb >v2gnu/mak377b.zip Make (processes makefiles) 242 kb >v2gnu/txi312b.zip Info file viewer 500 kb >v2tk/allegro/alleg30.zip Allegro game library 1.2 mb >Total bytes to download: 10,847,024 > >Thanx a lot >happy303 >