www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/21/10:09:12

Date: Thu, 21 Mar 1996 17:01:37 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: GEORGE ARUGAY MONTEMAYOR <gmontem AT sfsu DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: Q: C++ compilation
In-Reply-To: <4ikvbn$oj0@news.csus.edu>
Message-Id: <Pine.SUN.3.91.960321165930.25106K-100000@is>
Mime-Version: 1.0

On 19 Mar 1996, GEORGE ARUGAY MONTEMAYOR wrote:

> syntax:   gcc test.cc
> 
> Is that correct?

No.  You should use this command line:

	gxx test.cc

Gxx invokes the compiler in a way that makes it also search the C++ 
libraries.  You should use gxx when you link C++ programs.

And please read the FAQ, this is explained there.

- Raw text -


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