C language > Expert questions

compiling LUA 5.1.3

(1/2) > >>

czerny:
Hallo,

I have compiled lua5.1.3 with Pelles C and get a stack overflow error after starting lua.exe.
Has anybody else managed to compile this lua version?

czerny

czerny:
There is an example for compiling lua 5.0.2 in this list under

http://forum.pellesc.de/index.php?topic=198.msg760#msg760

I tried this as a starting point.
But this doesn't work for me at all, even not with the 5.0.2 archive.

One problem with this is, that there are source files in a subdir 'src',
the compiler compiles src\*.c to src\*.obj
but the linker doesn't search in 'src'

Has this batch ever worked?

I must have done something silly.

czerny

czerny:
If someone is willing to help, here you can download the sources:

http://www.lua.org/ftp/lua-5.1.3.tar.gz

I have attached the project files. Copy them in the src directory to test.

czerny

TimoVJL:
I compiled lua.exe with PellesC 5b4 and it seems to work.

czerny:
Hmm,

I tried your ppj with Pelles C 4.50.113 and get the same error.
Your exe worked ok.
Should I upgrad the Compiler?

czerny

Navigation

[0] Message Index

[#] Next page

Go to full version