delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Mon, 12 Feb 2001 23:00:01 +1300 |
From: | Dan Plimak <danp AT systematik DOT co DOT nz> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Trying to compile a simple C++ program |
Message-ID: | <20010212230001.A5692@systematik.co.nz> |
References: | <001201c0940b$08c8c3a0$ac07f8d4 AT 1> <20010212225717 DOT A5592 AT systematik DOT co DOT nz> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5i |
In-Reply-To: | <20010212225717.A5592@systematik.co.nz>; from danp@systematik.co.nz on Mon, Feb 12, 2001 at 10:57:17PM +1300 |
On Mon, Feb 12, 2001 at 10:57:17PM +1300, Dan Plimak wrote: > > You'll be wanting to add -lstdc++ to the command line, as in: > > $ gcc -lstdc++ a.exe a.cpp > Silly me, missed the '-o' switch. The command line should be: $ gcc -lstdc++ -o a.exe a.cpp Ashamedly, -- danp -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |