delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/12/21:00:50

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What did I miss ?
Date: Sun, 12 Apr 1998 19:56:16 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 23
Message-ID: <353154A0.70F@cs.com>
References: <199804100142 DOT SAA14888 AT adit DOT ap DOT net> <352e2725 DOT 685785 AT netnews DOT nyu DOT edu> <352E3985 DOT A2D AT plinet DOT com> <35341b83 DOT 526155 AT netnews DOT nyu DOT edu>
NNTP-Posting-Host: ppp244.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ryuji Yokoyama wrote:
> 
> Thanks! I got prog.exe, but I still can't use RHIDE.  When I tried to
> compile the file using RHIDE, I got a following error.
> 
> Error: c:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or
> directory (ENOENT)

RHIDE 1.4 wasn't designed with gcc 2.8.0 in mind.  The solution is
simple:  edit the file %DJDIR%/share/rhide/rhide.env (or create it if it
doesn't already exist), and put the following line in it:

RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx

After doing this, RHIDE should link C++ programs correctly.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Always listen to experts.  They'll  |
|       aka Fighteer I       | tell you what can't be done, and why.|
|   mailto:fighteer AT cs DOT com   | Then do it."                         |
| http://www.cs.com/fighteer/|                - Lazarus Long        |
---------------------------------------------------------------------

- Raw text -


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