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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Rolf Campbell <Endlisnis@mailc.net>
Subject: Re: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1
Date: Sat, 13 Sep 2003 19:07:37 -0400
Lines: 29
Message-ID: <bk07vr$m0k$1@sea.gmane.org>
References: <20030913205923.16182.qmail@web21403.mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1
X-Accept-Language: en-us, en
In-Reply-To: <20030913205923.16182.qmail@web21403.mail.yahoo.com>

Danny Smith wrote:
> On Sat, Sep 13, 2003 at 12:43:38PM -0400, Rolf Campbell wrote:
>>Christopher Faylor wrote:
>>>On Sat, Sep 13, 2003 at 12:20:39PM -0400, Rolf Campbell wrote:
>>>>Is this new gcc supposed to be ABI compatible with 3.2.x?  Because I 
>>>>can't link in libraries compiled with an older version of cygwin g++.
>>>>
>>>>/c/temp/cppunit-1.8.0/src/cppunit/TestSucessListener.cpp: undefined 
>>>>reference to `___gxx_personality_v0'
>>>>/c/temp/cppunit-1.8.0/src/cppunit/../../include/cppunit/TestListener.h:33: 
>>>>undefined reference to `__Unwind_Resume'
> 
> gcc 3.2-3 used Dwarf2 exceptions, which worked most of the time. (In fact,
> I don't recall any bug reports at all on cygwin list).  But it didn't work
> with w32api callbacks, nor with some combinations of compiler switches
> (notably -mcpu=i586 or -mno-accumulate-outgoing-args and
> -fomit-frame-pointer).
> 
> cygwin gcc-3.3.1 uses setjmp-longjmp exception mechanism,
> mingw does too and has done since gcc-3.2.1.
> 
> The two undefined references are Dwarf2 specific.  The corresponding
> SjLj symbols are __gxx_personality_sj0 and  __Unwind_SjLj_Resume.
> 
> Danny
Ok, are there command-line switches to change the exception mechanism 
used?  I would like to be able to use cygwin gcc 3.2 to build libraries 
that work with cygwin gcc 3.3.



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

