delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/15/03:22:03

Date: Mon, 15 Feb 1999 10:19:12 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Randy Saint <saint AT phoenix DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Need Help Getting Started with STL
In-Reply-To: <yJNx2.8179$lx.4183@news2.giganews.com>
Message-ID: <Pine.SUN.3.91.990215101850.10128M-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 15 Feb 1999, Randy Saint wrote:

> Then I guessed, and added -lstdcxx on the end of the command line.
> Now the test program compiles and runs.
> 
> I wish I could have seen that command line addition in some documentation 
> somewhere.

I don't see any shortage of documentation on this one.

For example, chapter 1 of the FAQ tells you to use `gxx' for linking
C++ programs (`gxx' automatically includes -lstdcxx on the linker
command line)?  And section 8.9 of the FAQ explicitly says to either
use `gxx' or append -lstdcxx.  In fact, even README.1ST says to use
`gxx'.

- Raw text -


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