delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/09/14:15:23

From: michael DOT mauch AT gmx DOT de (Michael Mauch)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE and STL
Date: Sun, 09 Aug 1998 19:44:17 +0200
Organization: Gerhard-Mercator-Universitaet -GH- Duisburg
Lines: 28
Message-ID: <6qkn58$kan$2@news-hrz.uni-duisburg.de>
References: <1998080901320800 DOT VAA26469 AT ladder03 DOT news DOT aol DOT com>
NNTP-Posting-Host: ppp70.uni-duisburg.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 9 Aug 1998 01:32:08 GMT, brianrunck AT aol DOT com (BrianRunck) wrote:

> I've looked far and wide for this, including the DJGPP FAQ and I still don't
> quite get it.  What I want to do is use the STL and somehow compile the program
> in RHIDE.
> I found that you should add -lstdcxx as a parameter which is easy enough to do,
> but it doesn't work any better.

Does this mean that it works on the command line, using gxx (or gcc ...
-lstdcxx)?

>  Also when compiling or running a project, when
> it compiles it always calls GCC instead of GXX.  I've tried different file
> extensions (cpp, cc) and I'm not sure what to try there to get RHIDE to use GXX
> instead.

RHIDE doesn't call gxx, it calls gcc and links in the appropriate
libraries for C++ automatically (just like gxx), if it sees a .cc or
.cpp file (search the FAQ for `gxx´, it says that `gxx´ is just a
shortcut for `gcc ... -lstdcxx´).

Do you have gpp281b.zip and lgpp281b.zip? If no, please get and install
these; if yes, please post a bug report (Alt+Space->Bug Report in
RHIDE), so we can see what's going wrong.

Regards...
		Michael

- Raw text -


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