Answer the question
In order to leave comments, you need to log in
Windows compatible dll built with gcc, is it real?
In general, the essence is this, there is some source code for a library written under Linux.
After building under Windows using mingw, we get a supposedly ready-made module for use in the lua environment.
But, lua does not understand this module as a dll.
The command to build an object file from source.
$ gcc -c *.c -I../include -I../klib -I../uthash -I../src -I./luah
$ gcc -shared -o ucl.dll lua_ucl.o -L. -llua51 -lucl
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question