Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 3 Dec 2002 11:36:08 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: dxx_personality_v0 (again?) Message-ID: <20021203163608.GB3443@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <200212030920 DOT 49248 DOT jblazi AT gmx DOT 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/