Re: Compiling Lua for D

2012-02-16 Thread Mars
On Thursday, 16 February 2012 at 05:06:13 UTC, Jesse Phillips wrote: BTW, I totally recommend LuaD when interacting with lua. Thank you for the explanation. I've started with LuaD, but I kinda didn't like it, can't exactly say why. I rather want to use Lua directly for now, and maybe write my

Re: Compiling Lua for D

2012-02-15 Thread Jesse Phillips
On Wednesday, 15 February 2012 at 19:49:13 UTC, Mars wrote: I assume I could compile those, and include them in my other lib... but why is that? Shouldn't the Lua lib, and the importing of those files be enough? I couldn't really wrap my head around that yet, if I import something, that's not i

Re: Compiling Lua for D

2012-02-15 Thread Trass3r
I guess GDC uses COFF? That would definitely be handy... although I couldn't compile and debug from VS anymore in that case, and that would be unfortunate^^" Just recently Rainer added gdc support to cv2pdb.

Re: Compiling Lua for D

2012-02-15 Thread Mars
On Wednesday, 15 February 2012 at 19:44:41 UTC, Trass3r wrote: LuaD works fine, but I'd rather learn to compile stuff like this myself. It will get me further in the long run^^ Try to switch to gdc. dmc, optlink & Co. must die a bloody death anyway :) I guess GDC uses COFF? That would definit

Re: Compiling Lua for D

2012-02-15 Thread Mars
On Wednesday, 15 February 2012 at 15:02:36 UTC, Mars wrote: What's the correct way to do this? I guess I did it. Using lib, I was able to bind those obj files to a lib file. lib -c obj_files... I really have to learn a bit more about this stuff... to successfully compile a program with thi

Re: Compiling Lua for D

2012-02-15 Thread Trass3r
LuaD works fine, but I'd rather learn to compile stuff like this myself. It will get me further in the long run^^ Try to switch to gdc. dmc, optlink & Co. must die a bloody death anyway :)

Re: Compiling Lua for D

2012-02-15 Thread Mars
On Wednesday, 15 February 2012 at 16:35:01 UTC, Andrej Mitrovic wrote: Have you tried https://github.com/JakobOvrum/LuaD ? It has binaries here: http://github.com/JakobOvrum/LuaD/tree/binaries LuaD works fine, but I'd rather learn to compile stuff like this myself. It will get me further in t

Re: Compiling Lua for D

2012-02-15 Thread Andrej Mitrovic
Have you tried https://github.com/JakobOvrum/LuaD ? It has binaries here: http://github.com/JakobOvrum/LuaD/tree/binaries

Compiling Lua for D

2012-02-15 Thread Mars
Hello, everybody. Originally I've posted this in the C++ section, but seeing how the posts there are almost ancient, I'll post it here as well, where probably more people will see it. I'm trying to compile Lua, using DMC, to use it in D. I got the compilation working, but I have no clue, on