delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/09/21:46:40

Sender: nate AT cartsys DOT com
Message-ID: <361EBB86.6896F945@cartsys.com>
Date: Fri, 09 Oct 1998 18:42:30 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486)
MIME-Version: 1.0
To: "Thiago F.G. Albuquerque" <thiagofga AT ambr DOT com DOT br>
CC: djgpp AT delorie DOT com
Subject: Re: libg++ and stdc++
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980930235651 DOT 007b9370 AT 200 DOT 252 DOT 238 DOT 1>
Reply-To: djgpp AT delorie DOT com

Thiago F.G. Albuquerque wrote:
> 
> Did you know that in order to use the string class in your program, you
> have to #include - not "string" or "cstring" (both available in cxx's
> include directory)- but "_String.h"? What a pity the docs don't say a line
> about this (or at least I couldn't find it). Does anybody know where can I
> find information on which header goes with each class?

FAQ section 8.2?

> Also, what exactly are the differences between the "gnu c++ library" and
> the "gnu standard c++ library"? To which files do these names correspond in
> the lib directory? I guess "gnu c++" is libgpp.a and "gnu standard c++" is
> libstdcxx.a.

Correct.  libgpp.a has some GNU-specific classes that are now
deprecated.  Don't use them in new programs.

> But what about "libg.a"?

That's just a stub library; I think some programs expect to link it, and
so it's there so they don't get confused.  On a Unix system it would be
a debugging library.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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