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 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> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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