www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/23/13:49:07

Date: Tue, 23 Sep 1997 10:47:50 -0700 (PDT)
From: Craig Berry <cberry AT cinenet DOT net>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: STL for DJGPP C++?
In-Reply-To: <Pine.SUN.3.91.970923131834.14928Q-100000@is>
Message-ID: <Pine.GSO.3.95.970923104302.26022A-100000@hollywood.cinenet.net>
MIME-Version: 1.0

On Tue, 23 Sep 1997, Eli Zaretskii wrote:

> On 22 Sep 1997, Craig Berry wrote:
> 
> > Perhaps I'm just being dain-bramaged, and if so I apologize in advance, 
> > but...
> 
> Just try looking in the DJGPP FAQ list next time ;-)
> 
> STL is in libstcx.a, as the FAQ explains in section 8.7.  If you use 
> `gxx' to link your C++ programs, libstdcx.a is automatically linked into 
> your program.

Actually, I did check the FAQ...but as I was poking around looking for the
STL headers, rather than trying to use them and getting unresolved
externals, this FAQ item ("8.7 Unresolved externals when linking programs
- Q: Why do I get so many unresolved symbols when linking my programs?")
didn't attract my attention.  I was scanning for something more like "What
ANSI C++ features are/aren't supported?". 

As it turns out, my confusion was caused by the C++-specific headers
living in a different directory (./lang/cxx, IIRC) from the 'usual' header
dir (./include).

In any case, thanks for the FAQ pointer!

---------------------------------------------------------------------
   |   Craig Berry - cberry AT cinenet DOT net
 --*--    Home Page: http://www.cinenet.net/users/cberry/home.html
   |      Member of The HTML Writers Guild: http://www.hwg.org/   
       "Every man and every woman is a star."

- Raw text -


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