alright, so heres how it works:<div><br></div><div>first, you need to pass spec into the right place, heres the output of the make file.</div><div><br></div><div><div>winegcc -c  -mno-cygwin -m32    -o zmq.o zmq.c</div><div>
winegcc -shared zmq.dll.spec -mno-cygwin -o <a href="http://zmq.dll.so">zmq.dll.so</a> zmq.o     -lzmq   </div></div><div><br></div><div>next, you need to make sure to include &lt;windows.h&gt; in zmq.c and put WINAPI between return type and function name if you are using stdcall in the spec file, otherwise it wont work.</div>
<div><br></div><div>Finally, heres a nice reference example</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.winehq.org/pipermail/wine-devel/2010-June/084336.html">http://www.winehq.org/pipermail/wine-devel/2010-June/084336.html</a></div>
<div><br></div><div>and in terms of finding what symbols are exported well those in the spec file are exported, so no big deal.</div>