On Mon, 12 Mar 2012, Allin Cottrell wrote:
On Mon, 12 Mar 2012, da wang wrote:
> Got it Jack, so I will follow your instruction to go to that url and do it
> the hard way and see whether libgretl.h and libgretl.lib files can be
> generated. It's a little bit inconvinent because I am not so familiar with
> compiling with Makefile, but thank you so much!
The libgretl headers (including libgretl.h) don't have to be generated:
they're present in the source package.
The supplied gretl Makefile for Windows does not call for
generation of a .lib file, but it creates libgretl.dll,
libgretl.def, and the import library libgretl.a. You may
want to take a look at this discussion [...]
Actually it seems to be simpler than that. From
http://www.mingw.org/wiki/MSVC_and_MinGW_DLLs :
<quote>
MSVC cannot use the MinGW library, but since you have already
the DEF file you may easily produce one by the Microsoft LIB
tool:
lib /machine:i386 /def:testdll.def
</quote>
Allin