delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/11/09:15:21

Message-ID: <355705D4.DAAB5902@sprynet.com>
Date: Mon, 11 May 1998 07:06:12 -0700
From: Ishpeck <aTedjamulia AT sprynet DOT com>
Organization: Lunaticnologies
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with g++.exe / RHIDE
References: <355654c7 DOT 17230945 AT news DOT servtech DOT com>
NNTP-Posting-Host: 192.41.91.35
Lines: 34
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Have you set your directories all correctly?
The C++ libraries and headers are in different directories than the
C compiler.

Chaos Harlequin wrote:
> 
> Everyone,
> 
> I've been using RHIDE as my IDE ever since I started using DJGPP, and
> when using C programs, it's worked fine. However, I've begun to try to
> compile C++ programs, and I've had a problem. Whenever I try using the
> "Run" command on any such program, I get the error message:
> 
> Error: c:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or
> directory (EN0ENT)
> 
> When I run the "g++.exe" program to compile C++ programs, the error
> message reads:
> 
> ld.exe: cannot open -lstdcxx: No such file or directory (ENOENT)
> 
> I tried using other options in the dialog box which lets you pick a
> compiler, but everything I tried caused the compiler to treat the code
> as C, rather than C++.
> 
> Oddly enough, when I simply type "gcc x.cc" the code seems to compile
> fine.
> 
> Any suggestions on how to fix this problem?
> 
> Joshua Hall Bachner
> harlequin AT tmbg DOT org
> The Authoritative M:tG reference:
> http://www.frontiernet.com/~phopkins/?ch

- Raw text -


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