delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/04/07:46:55

Date: Sun, 4 Oct 1998 13:06:35 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Tal Lavi <ranla AT post DOT tau DOT ac DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: Can't link C++ code!
In-Reply-To: <36158832.3AB6@post.tau.ac.il>
Message-ID: <Pine.SUN.3.91.981004130616.1863j-100000@is>
MIME-Version: 1.0

On Fri, 2 Oct 1998, Tal Lavi wrote:

> But nothing seem to help the command line, though. Do I have to write 
> -lstdcxx whenever I compile a c++ program?

Only if you use gcc to compile it.  If you use gxx or gpp, they
instruct the linker to scan libstdcxx.a automatically.  (Btw, the
DJGPP FAQ explains that in section 8.7.)

- Raw text -


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