delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/28/21:59:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AC16D6D.6060507@gmail.com>
Date: Tue, 29 Sep 2009 03:14:05 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: gcc 4.3.2 rethrow exception
References: <25645396 DOT post AT talk DOT nabble DOT com> <4AC0F662 DOT 8090503 AT gmail DOT com> <25651906 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <25651906.post@talk.nabble.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

zevel12 wrote:

> Dave Korn-6 wrote:

>>   It's always best to use the proper language driver for compiling C++
>> instead
>> of adding -lstdc++ to the C compiler command-line, in fact it's not a
>> supported mode of operation 

> It did indeed fix the problem. As an added note, I also had to use g++ as
> the linker instead of gcc in my makefiles.

  Sorry, I should have been clearer; when I said "use the driver for
compiling", I really meant all stages of the compilation process, particularly
including linking, not just the actual compilation stage itself.  Glad you
discovered that for yourself without too much trouble; you're on completely
the right track there.

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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