<br><br><div><span class="gmail_quote">2007/8/21, Damjan Jovanovic &lt;<a href="mailto:damjan.jov@gmail.com">damjan.jov@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 8/21/07, trulyliu &lt;<a href="mailto:trulyliu@gmail.com">trulyliu@gmail.com</a>&gt; wrote:<br>&gt; Can I made <a href="http://Arithmetic.dll.so">Arithmetic.dll.so</a> ? And link it against my linux App?<br><br>A library function runs in the context of the process that invokes it.
<br>A library doesn&#39;t have its own TEB/memory layout/exception handling<br>that works independently of the process that calls it, no matter how<br>it is compiled. If the wine plugin API is ever made, it will modify<br>
the process so it has what the library expects when the library<br>functions are called.<br><br>Does your <a href="http://Arithmetic.dll.so">Arithmetic.dll.so</a> call any Windows functions? If so, you<br>need wine and you will always need wine, plugin API or no plugin API,
<br>whether you compile it into a DLL or .dll.so. But if you only use ANCI<br>C stuff you can compile it into a .so and use it without wine.<br><br>If you want something that runs seamlessly on every operating system<br>today, IMHO you should consider Java.
<br><br></blockquote><div><br><br>Yes, Java may be a good choice for crossing platform.<br><br>As you said, my Arithmetic.dll does not call any windows function.<br>It&#39;s pure ANSI C library. What&#39;s the step of make .dll.so ??
<br><br>Use winegcc or gcc ??<br><br><br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>
&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; <a href="mailto:trulyliu@gmail.com">trulyliu@gmail.com</a><br>&gt;<br><br>Damjan<br><br><br></blockquote></div><br><br clear="all"><br>-- <br><a href="mailto:trulyliu@gmail.com">trulyliu@gmail.com
</a><br>