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

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE and STL
Date: Sun, 09 Aug 1998 15:28:17 -0300
Organization: NBTel Internet
Lines: 26
Message-ID: <35CDEA40.4FDB87B@unb.ca>
References: <1998080901320800 DOT VAA26469 AT ladder03 DOT news DOT aol DOT com>
NNTP-Posting-Host: fctnts13c65.nbnet.nb.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.  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.
> Of course that may not matter even if I could get it to do that...ultimately I
> want to use the STL in my programs.  Thanks.

What do you mean by 'STL'?  Do you mean STandard Library?  Because if you do, then
RHIDE already links to the standard c library (for .c files) and the standard c++
library for .cc files.  It default to "-lstdcxx" for .cc files.

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlis AT nbnet DOT nb DOT ca




- Raw text -


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