Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 3 Dec 2002 11:36:08 -0500
From: Christopher Faylor <cgf-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: dxx_personality_v0 (again?)
Message-ID: <20021203163608.GB3443@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <200212030920.49248.jblazi@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200212030920.49248.jblazi@gmx.de>
User-Agent: Mutt/1.5.1i

On Tue, Dec 03, 2002 at 09:20:49AM +0100, jblazi wrote:
>Can somenody tell me, how I link a C++ file with gcc? I usually take g++, but 
>this time I'll have to take gcc and then I have this problem. On Linux, I 
>specify the flag -lstdc++ but this does not work on Cygwin.
>
>(I must have asked this question before but I did not find the answer (though 
>I searched the archives.)

Your archive searching skills need a lot of work.

Use g++ to link the file.  That's it.  Period.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

