delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/21/15:28:13

From: happy303 AT hotmail DOT com (happy303)
Newsgroups: comp.os.msdos.djgpp
Subject: Gettin Rhide to compile c++ programs
Message-ID: <367eac07.1852410@news.videotron.ca>
X-Newsreader: Forte Free Agent 1.11/32.235
Lines: 42
Date: Mon, 21 Dec 1998 20:24:37 GMT
NNTP-Posting-Host: 207.96.144.15
X-Complaints-To: abuse AT videotron DOT net
X-Trace: weber.videotron.net 914271717 207.96.144.15 (Mon, 21 Dec 1998 15:21:57 EDT)
NNTP-Posting-Date: Mon, 21 Dec 1998 15:21:57 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019