http://www.emmestech.com/software/cygwi
http://sebsauvage.net/python/mingw.h
http://www.gnu.org/software/binutils/ma
----------------------------------------

Under
Windows, suppose you are going to develop anything without your
favourate development environment, gcc emacs vi, Cygwin definitely will
become a very good choice for us. However, we are not always relying on
the libraries supplied with Cygwin. We will need Windows style library
dll files. Then how do we link them wil Gcc?
We will need pexports and dlltool.
First, we use pexport to generate the def file.
http://www.emmestech.com/software/cygwi
Then, use dlltool to create the dynamic link library file that can be recognized by cygwin.
Example in my case, to use my DAQ card, there is a dll file:
$ pexports.exe filename.dll > filename.def
$ dlltool.exe --dllname filename.dll --def filename.def --output-lib libfilename.a
Terribly say that I have not tried to test the program working or not. I just successfully compiled the program... :-O
-----------------------Reference--------

文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!