<DIV>Hello</DIV>
<DIV>&nbsp;</DIV>
<DIV>Finally I found the HOW-TO winelib which gives me a pretty useful example in it:</DIV>
<DIV>&nbsp;</DIV>
<DIV>2. a Windows executable with WineLib DLL...</DIV>
<DIV>&nbsp;</DIV>
<DIV>....</DIV>
<DIV>&nbsp;</DIV>
<DIV>During the compile process, a command like<BR>&nbsp;&nbsp;&nbsp; winebuild -fPIC -o winedll.spec.c -spec winedll.spec<BR>will be executed to create the file winedll.spec.c from information in<BR>the file winedll.spec. The file winedll.spec.c and winedll.c are<BR>compiled into object files and used to create the shared library.<BR>......</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>My question is How to generate winedll.dll.so from winedll.spec.c and winedll.c</DIV>
<DIV>and other source file like winedll.h if needed..</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am wondering whether someone can give me a detailed implementation command about this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>It should something like "gcc -shared -Wl, -Bsymbolic -o ...</DIV>
<DIV>&nbsp;</DIV>
<DIV>or use winebuild directly..</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo! SiteBuilder</a> - Free, easy-to-use web site design software