<!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> </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> </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> <<A
href="mailto:jwillemsen@remedy.nl">jwillemsen@remedy.nl</A>> 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 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
***<BR>*** See <A
href="http://www.theaceorb.nl/en/support.html">http://www.theaceorb.nl/en/support.html</A>
***<BR><BR>"andy" < <A
href="mailto:ypwangandy@gmail.com">ypwangandy@gmail.com</A>> wrote in
message<BR>news:<<A
href="mailto:1183082411.763690.17190@n60g2000hse.googlegroups.com">1183082411.763690.17190@n60g2000hse.googlegroups.com</A>
>...<BR>> Hi, All<BR>><BR>> Here are some notes for compiling on
Mingw32.<BR>><BR>> 1. mingw+SSL<BR>> usually the openssl compiled
on mingw32 is libssl32.a(libssl32.dll)<BR>> and libeay32.a(libeay32.dll )
so it is better to use these. Do the<BR>> changing below.<BR>>
$ACE_ROOT/include/makeinclude/platform_mingw32.GNU<BR>>
+PLATFORM_SSL_LIBS = -lssl32 -leay32<BR>><BR>> actually you can still
use libssl.a and libcrypto.a (which are static<BR>> library) but you need
to add "-lgdi32" in order to make linker happy<BR>> since the
crypto/rand/rand_win.c uses CreateDC and related stuff.<BR>><BR>> 2.
libACE.dll needs mingwm10.dll<BR>> >From Mingw
mthr.c::__mingwthr_key_dtor<BR>> * - gcc uses
-mthreads option<BR>> * - user code uses C++
exceptions<BR>> *<BR>> * The sole job of the
Mingw thread support DLL (MingwThr) is to <BR>>
catch<BR>> * all the dying threads and clean up the data
allocated in the TLSs<BR>> * for exception contexts during C++
EH. Posix threads have key<BR>> dtors,<BR>> * but win32 TLS
keys do not, hence the magic. Without this, there's <BR>>
at<BR>> * least `6 * sizeof (void*)' bytes leaks for each
catch/throw in each<BR>> * thread. The only public interface
is __mingwthr_key_dtor().<BR>> *<BR>> * Created
by Mumit Khan <<A href="mailto:khan@nanotech.wisc.edu">
khan@nanotech.wisc.edu</A>><BR>><BR>> Enjoy!<BR>>
Andy<BR>><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>