<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16441" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=000520006-30062007><FONT face=Arial 
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=000520006-30062007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=000520006-30062007><FONT face=Arial 
color=#0000ff size=2>Must that DLL always linked into the 
app?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=000520006-30062007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=000520006-30062007><FONT face=Arial 
color=#0000ff size=2>Johnny</FONT></SPAN></DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> Wang Yiping 
  [mailto:ypwangandy@gmail.com] <BR><B>Sent:</B> Saturday, June 30, 2007 12:32 
  AM<BR><B>To:</B> Johnny Willemsen<BR><B>Cc:</B> 
  ace-users@cse.wustl.edu<BR><B>Subject:</B> Re: Note for mingw32 
  compiling<BR></FONT><BR></DIV>
  <DIV></DIV>Hi, Johnny<BR><BR>The second one is not fix just a note. Because 
  after I finished compiling on mingw32 I just happened to see that the ace.dll 
  depends on that specified dll provided by mingw. If you want to put it 
  somewhere I think the compiling Readme for mingw (if have) is the best place. 
  <BR><BR>Regards,<BR>Andy<BR><BR>
  <DIV><SPAN class=gmail_quote>On 6/29/07, <B class=gmail_sendername>Johnny 
  Willemsen</B> &lt;<A 
  href="mailto:jwillemsen@remedy.nl">jwillemsen@remedy.nl</A>&gt; wrote:</SPAN>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi,<BR><BR>I 
    have added the change to platform_mingw32.GNU, not sure what todo 
    with<BR>your second remark.<BR><BR>Regards,<BR><BR>Johnny 
    Willemsen<BR>Remedy IT<BR>Postbus 101<BR>2650 AC&nbsp;&nbsp;Berkel en 
    Rodenrijs<BR>The Netherlands <BR><A 
    href="http://www.theaceorb.nl">www.theaceorb.nl</A> / <A 
    href="http://www.remedy.nl">www.remedy.nl</A><BR><BR>*** Integrated compile 
    and test statistics see<BR><A 
    href="http://scoreboard.theaceorb.nl">http://scoreboard.theaceorb.nl 
    </A>***<BR>*** Commercial service and support for 
    ACE/TAO/CIAO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    ***<BR>*** See <A 
    href="http://www.theaceorb.nl/en/support.html">http://www.theaceorb.nl/en/support.html</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    ***<BR><BR>"andy" &lt; <A 
    href="mailto:ypwangandy@gmail.com">ypwangandy@gmail.com</A>&gt; wrote in 
    message<BR>news:&lt;<A 
    href="mailto:1183082411.763690.17190@n60g2000hse.googlegroups.com">1183082411.763690.17190@n60g2000hse.googlegroups.com</A> 
    &gt;...<BR>&gt; Hi, All<BR>&gt;<BR>&gt; Here are some notes for compiling on 
    Mingw32.<BR>&gt;<BR>&gt; 1. mingw+SSL<BR>&gt; usually the openssl compiled 
    on mingw32 is libssl32.a(libssl32.dll)<BR>&gt; and libeay32.a(libeay32.dll ) 
    so it is better to use these. Do the<BR>&gt; changing below.<BR>&gt; 
    $ACE_ROOT/include/makeinclude/platform_mingw32.GNU<BR>&gt; 
    +PLATFORM_SSL_LIBS = -lssl32 -leay32<BR>&gt;<BR>&gt; actually you can still 
    use libssl.a and libcrypto.a (which are static<BR>&gt; library) but you need 
    to add "-lgdi32" in order to make linker happy<BR>&gt; since the 
    crypto/rand/rand_win.c uses CreateDC and related stuff.<BR>&gt;<BR>&gt; 2. 
    libACE.dll needs mingwm10.dll<BR>&gt; &gt;From Mingw 
    mthr.c::__mingwthr_key_dtor<BR>&gt;&nbsp;&nbsp;*&nbsp;&nbsp;- gcc uses 
    -mthreads option<BR>&gt;&nbsp;&nbsp;*&nbsp;&nbsp;- user code uses C++ 
    exceptions<BR>&gt;&nbsp;&nbsp;*<BR>&gt;&nbsp;&nbsp;* The sole job of the 
    Mingw thread support DLL (MingwThr) is to <BR>&gt; 
    catch<BR>&gt;&nbsp;&nbsp;* all the dying threads and clean up the data 
    allocated in the TLSs<BR>&gt;&nbsp;&nbsp;* for exception contexts during C++ 
    EH. Posix threads have key<BR>&gt; dtors,<BR>&gt;&nbsp;&nbsp;* but win32 TLS 
    keys do not, hence the magic. Without this, there's <BR>&gt; 
    at<BR>&gt;&nbsp;&nbsp;* least `6 * sizeof (void*)' bytes leaks for each 
    catch/throw in each<BR>&gt;&nbsp;&nbsp;* thread. The only public interface 
    is __mingwthr_key_dtor().<BR>&gt;&nbsp;&nbsp;*<BR>&gt;&nbsp;&nbsp;* Created 
    by Mumit Khan&nbsp;&nbsp;&lt;<A href="mailto:khan@nanotech.wisc.edu"> 
    khan@nanotech.wisc.edu</A>&gt;<BR>&gt;<BR>&gt; Enjoy!<BR>&gt; 
    Andy<BR>&gt;<BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>