News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

compiling LUA 5.1.3

Started by czerny, April 23, 2008, 11:06:34 AM

Previous topic - Next topic

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.

May the source be with you

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

czerny

Ok!

I have upgraded the compiler to Pelles C 5.00.6 (POCC 5.00.8) and now its all right.

czerny