delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/25/03:11:28

Date: Wed, 25 Mar 1998 10:04:23 +0200 (EET)
From: Andris Pavenis <pavenis AT latnet DOT lv>
To: "John M. Aldrich" <fighteer AT cs DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: -
In-Reply-To: <35187EA2.59D8@cs.com>
Message-ID: <Pine.GSO.3.96.980325100006.27430B-100000@sisenis>
MIME-Version: 1.0


On Tue, 24 Mar 1998, John M. Aldrich wrote:

> Daniel Urquhart wrote:
> > 
> > when I compile under RHIDE I recive the error that ld can not find:  -lstdcx
> > I have seen theis question posted before but not answered.
> > 
> > Also is there a command to shell to other Exe's ?
> 
> It has also been answered several times:  RHIDE has a bug that prevents
> it from working with gcc 2.8.0.  It's not strictly a bug, either; the
> name of the STL library was hardcoded to '-lstdcx'.  Since the 2.8.0
> version is named '-lstdcxx', it naturally fails to find it.
> 
> Temporary workaround:  rename or copy libstdcxx.a to libstdcx.a.
> 

WRONG. This "workaround" will break g++.exe (or gxx.exe)
The correct fix is to add line to file %DJDIR%/share/rhide/rhide.env

RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx

(Create file if it doesn't exist)

Andris


- Raw text -


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