Lähettäjä: "chris.danx" <chris.danx@ntlworld.com>
Päiväys: keskiviikko, 24. syyskuuta 2003 01:25:15 +0300
Vastaanottaja: Lua list <lua@bazar2.conectiva.com.br>
Aihe: Vastaus: Lua DLLs?
Vastaus: Lua list <lua@bazar2.conectiva.com.br>
Paul Smith wrote:
I'll just give a little bit of feedback on this. It really may be
simpler just to build your own Lua DLL, or even statically link it.
I want to do both dynamic linking and static linking and document the
procedure in a user manual for a binding. IME if people find it just a
little hard to get things working quickly, they'll find something else...
also the Ada binding is meant to be 100% portable and although it
/should/ be, it probably isn't. It might be impossible to do this, but
if there are portability problems it should be simple things that can be
eliminated(sp?) fairly easily.
> I
was worried when I was going to start using Lua because I've used other
'Unix' type components (eg SQLite, etc) which I've had quite a bit of
difficulty building in MSVC V5. However, Lua built with absolutely ZERO
problems (not 'just a few', but ZERO) on a plain vanilla MSVC V5 setup,
in about 3 seconds flat (the whole of Lua built in less time than some
of our C++ files individually).
That's encouraging. :) On second thoughts, any problems I have will be
down to me messing up... I won't be able to blaim the tools. ;)
> Lua is written in plain ANSI C, so it'll
compile on almost anything. It doesn't need Linux/GNU header files or
anything.
You're probably finding it harder to use a pre-built DLL than you would
have found to build it yourself from scratch...
The problem is I've never built DLLs myself, and also I don't have
MSVC. I wonder if they can be built with MingW. I'll look into it...
Thanks for the advice,
Chris