delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/27/21:39:28

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE long filenames?
Date: Thu, 26 Mar 1998 18:28:50 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 34
Message-ID: <351AE4B2.1445@cs.com>
References: <3517C9AC DOT 30001F7A AT jhu DOT edu> <3518125D DOT 719CBEFA AT jhu 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

Geoff Schoenbaum, MD, PhD wrote:
> 
> I posted this a bit ago, but nothing is there - forgive me if it's a
> repeat.  I have found solutions to my original problem in the online
> rhide documentation.  Now however I get the following errors when I
> build my simple "hello" c++ program in rhide:
> 
> error:c:/djgpp/bin/ld.exe: cannot open -lstdcx:  No such file or
> directory (ENOENT)

Apparently, the several recent posts containing the solution to this
problem have somehow been lost in the vastness of Usenet.  The problem
is a mis-feature of RHIDE which hardcodes the name of the C++ library as
'-lstdcx' instead of '-lstdcxx'.  To fix it, do one of the following:

 - Copy (do not rename!) libstdcxx.a to libstdcx.a.  This will satisfy
RHIDE as well as the rest of the compiler tools.
 - Fix RHIDE by inserting the following line into
%DJDIR%/share/rhide/rhide.env (create this file if it does not already
exist):

RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx

The next version of RHIDE will (presumably) have this fix hardcoded.

hth!

-- 
---------------------------------------------------------------------
|      John M. Aldrich       |"Men rarely (if ever) manage to dream |
|       aka Fighteer I       |up a god superior to themselves. Most |
|   mailto:fighteer AT cs DOT com   |gods have the manners and morals of a |
| http://www.cs.com/fighteer |spoiled child."    - Lazarus Long     |
---------------------------------------------------------------------

- Raw text -


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