www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/01/21:22:31

Date: Mon, 1 Apr 1996 21:16:54 -0500 (EST)
From: Peter Berdeklis <peter AT chinook DOT physics DOT utoronto DOT ca>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: STL for DJGPP?
In-Reply-To: <Pine.SUN.3.91.960331091131.10484a-100000@is>
Message-ID: <Pine.SGI.3.91.960401210541.20165A-100000@chinook.physics.utoronto.ca>
MIME-Version: 1.0

On Sun, 31 Mar 1996, Eli Zaretskii wrote:

> 
> On Sat, 30 Mar 1996, Peter Berdeklis wrote:
> 
> > Is there an STL ported to DJGPP?  I know that gcc 2.7.2 comes with STL 
> > (we have it at work on our SGI), so I was wondering if DJGPP would 
> > compile it if I downloaded it from HP, our copied the include files from 
> > my office gcc.  I'm knew to DJGPP so I don't know how well it does 
> > templates - gcc seems pretty good.
> 
> I think that it's is in the libstdcx.a library (add -lstdcxx to the end of
> your compilation command line).  The latest version of lgp271b.zip should
> have it. 

Actually, STL is the C++ Standard Template Library, and it is 
implemented as a series of header files in which the templates are 
defined.  I copied the files from my SGI machine and they seem to compile 
OK, although somewhere I'm having trouble with an inline definition of 
new(size_t, void*) - I think I can work it out.

Congrats to all those involved in GPP and DJGPP.  STL causes most compilers 
fits because it uses some cutting edge def's for templates.

By the way, I downloaded lgp271b.zip and I have libgpp.a from it.  I 
assume that's an alias for libstdcx.a - am I wrong?

> 
> > By the way, I downloaded djdev200.zip from ftp.coast.net looking for g++ 
> > (someone mentioned that coast had it in the dist.), but couldn't find 
> > it.  I hate typing any more -l's than I have to.  Could someone tell me 
> > where it is, or is it in another file (I already had the others from 
> > oakland).
> 
> It's called gxx (DOS won't permit a filename with a `+' in it), and it 
> should be in the latest gcc272b.zip.
> 

I've got gcc272b.zip from oakland and it doesn't have it.  I'll try coast 
and see if it's there.

Thanks for the help.

Pete

---------------
Peter Berdeklis
Dept. of Physics, Univ. of Toronto

- Raw text -


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