<font size=2 face="sans-serif">I think DWARF 2 is indeed the default exception-handling
protocol in the Linux world. &nbsp;Are the Linux-targeted binaries in CoinAll
built with Dw2 or SjLj?</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Ted Ralphs &lt;ted@Lehigh.EDU&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">acw@ascent.com</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">CoinBinary@list.coin-or.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">07/27/2012 11:36 AM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: Building JNI-based under MinGW</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3><br>
</font>
<br><font size=3>On Fri, Jul 27, 2012 at 11:19 AM, &lt;</font><a href=mailto:acw@ascent.com target=_blank><font size=3 color=blue><u>acw@ascent.com</u></font></a><font size=3>&gt;
wrote:</font>
<br><font size=3 face="sans-serif">Perhaps I spoke too soon; I've done
a little more research since I sent yesterday's message. &nbsp;If I have
not misunderstood the case, Microsoft is still clinging to SjLj; their
compiler suite produces binaries that use SjLj, and so their system libraries
are all SjLj-based. &nbsp;Furthermore, Dw2 code cannot inter-operate with
SjLj, so for the moment, anything that runs in a Windows environment must
be SjLj from cover to cover. &nbsp;(This isn't quite accurate: the restriction
is that a Dw2-style exception can't unwind through an SjLj stack frame,
like a Windows callback.) So, at least for the Windows target, it is probably
premature to try compiling to Dw2. &nbsp;In Unix and Linux, however, Dw2
is probably worth trying for the potential performance gain.</font><font size=3>
</font>
<br><font size=3><br>
As far as I understand (and my understanding is very rudimentary on this
topic), Dw2 is the default on Linux. Is it not?<br>
&nbsp;</font>
<br><font size=3 face="sans-serif">In other news, I found a compiler suite
called TDM-GCC, under active development at least as late as last September,
which claims to produce SjLj binaries for both the 32-bit and 64-bit Windows
environment. &nbsp;When things settle down here a bit I intend to try their
wares: see </font><a href="http://tdm-gcc.tdragon.net/" target=_blank><font size=3 color=blue face="sans-serif"><u>http://tdm-gcc.tdragon.net/</u></font></a><font size=3 face="sans-serif">
for more details.</font><font size=3> </font>
<br><font size=3>&nbsp;<br>
This looks promising! Thanks for bringing it to my attention!<br>
<br>
Ted<br>
--&nbsp; </font>
<br><font size=3>Dr. Ted Ralphs<br>
Associate Professor, Lehigh University<br>
(610) 628-1280<br>
ted 'at' lehigh 'dot' edu</font><font size=3 color=blue><u><br>
</u></font><a href=http://coral.ie.lehigh.edu/%7Eted target=_blank><font size=3 color=blue><u>coral.ie.lehigh.edu/~ted</u></font></a><font size=3><br>
</font>
<br>