delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/08/17:50:09

Reply-To: "James Arthur" <james AT arfa DOT clara DOT net>
From: "Arthur" <arfa AT clara DOT net>
To: "DJGPP Mailing List" <djgpp AT delorie DOT com>,
"Blud Nightbringer" <jhendrandene AT nightmail DOT com>
Subject: RE: Problem compiling really simple programs!?!? (Like hello.cpp)
Date: Tue, 8 Sep 1998 21:14:11 +0100
Message-ID: <000d01bddb65$3e278880$dc4d08c3@arthur>
MIME-Version: 1.0
In-Reply-To: <35F53CC2.6F6BC983@nightmail.com>
Importance: Normal

> OK, I tried to compile a simple C++ program with DJGPP through RHIDE,
> and it gave me the linker error everyone gets the first time (Before
> setting the var in djgpp.anv or rhide.env).  Now, I get a LOT of
> unresolved references when I try to link it, now that it's loading
> libstdcxx, instead of trying to load libstdcx...

Send in your code, along with the output from RHIDE.

Other things to try: since it is linking with a file with name 9 letters
long, you have got long file names enabled, havn't you? (add SET LFN=Y to
autoexec.bat). Also, try compiling it at the command line. Something like
"gcc hello.cpp -o hello.exe -lstdcxx" should do the trick. If this compiles,
then you've got a problem with RHIDE, rather than DJGPP installation.

James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819

- Raw text -


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