I need to create libpqdll.a from libpq.dll for my application, since I use TGTK+xharbour+Postgresql to develop cross platform application, so I need MINGW to compile my application on windows operating system. Here is how to do that:

1. You must have MINGW installed on your computer.
2. pexports libpq.dll >libpqdll.def
3. dlltool -d libpqdll.def -D libpq.dll -l libpqdll.a
4. DONE!!!

Now you can compile your application ;)

-iip-



Add a Comment
   
© 2008 Multiply, Inc.    About · Blog · Terms · Privacy · Corp Info · Contact Us · Help