delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/09/07:44:53

From: G DOT DegliEsposti AT ads DOT it
To: djgpp AT delorie DOT com
Message-ID: <C12565C2.0031D033.00@vega.ads.it>
Date: Mon, 9 Mar 1998 10:10:15 +0100
Subject: Re: trouble with RHIDE & GPP 2.8
Mime-Version: 1.0




>It seems that I can't use RHIDE to make C++ executables any more because
it
>insists on calling GCC with "gcc -o filename.exe filename.o -lstdcx";
>there's no lstdcx anywhere so of course GCC can't find lstdcx. But even if
I
>use "gcc -o filename.exe filename.o" GCC will complain about "undefined
>references." The only way I can make C++ executables right now is using
GPP
>instead of GCC.
>
>I need a solution so I can use RHIDE to work with GCC/GPP 2.8 like it used
>to do with 2.7.

Not sure (I didn't download 2.8) but try this:

  gcc -o filename.exe filename.o -lstdcxx

(ie: add one more x to the library name)

IIRC in djgpp porting of 2.8 library names were made consistent with gnu
gcc,
so libstdcx.a became libstdcxx.a

ciao
  Giacomo


- Raw text -


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