lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Thatcher Ulrich wrote:

On Mar 01, 2004 at 08:42 +0200, Asko Kauppi wrote:
It would be good if someone with VC++ 6.0 actually did this.

The reason: mingw/gcc eats VC++ .lib's quite nicely but VC++ does not eat .a

The other (perhaps better) alternative would be to provide both:

	.dll itself
	.lib for VC++
	.a	 for gcc

If this is done by mingw anyways, it can use the dll itself as an import library (oh, why won't MS programmers do it as easy?). Anyone know a way to generate .lib from mingw?

According to the mingw FAQ (
http://www.mingw.org/mingwfaq.shtml#faq-msvcdll ), when mingw makes a
dll, it can make a .def file, which MS's "lib" tool can turn into a
.lib.

There is a VS 7 solution file that will build this for you on the wiki that I contributed.