NO

Author Topic: compiling LUA 5.1.3  (Read 6547 times)

czerny

  • Guest
compiling LUA 5.1.3
« on: April 23, 2008, 11:06:34 AM »
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

  • Guest
Re: compiling LUA 5.1.3
« Reply #1 on: April 24, 2008, 11:25:04 AM »
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

  • Guest
Re: compiling LUA 5.1.3
« Reply #2 on: April 25, 2008, 07:06:18 PM »
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

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: compiling LUA 5.1.3
« Reply #3 on: April 25, 2008, 07:32:26 PM »
I compiled lua.exe with PellesC 5b4 and it seems to work.

May the source be with you

czerny

  • Guest
Re: compiling LUA 5.1.3
« Reply #4 on: April 25, 2008, 09:16:06 PM »
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

  • Guest
Re: compiling LUA 5.1.3
« Reply #5 on: April 27, 2008, 10:52:09 AM »
Ok!

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

czerny