lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Tuesday, April 1, 2003, at 04:16 PM, Luiz Henrique de Figueiredo wrote:

A pre-release of Lua 5.0 (final) is now available for downloading at
        http://www.lua.org/ftp/lua-5.0.tar.gz

This is a pre-release because we have made several changes in config and Makefile since Lua 5.0 (beta) and would like to test them before freezing the package. So, please download and compile it, taking some time to read config, and let us know if there are any compilation problems (or bugs in the code!).

Hello,

Got a compile problem on Mac OS X:

cd src/lib; make all
gcc -O2 -Wall -I../../include         -c -o lauxlib.o lauxlib.c
gcc -O2 -Wall -I../../include         -c -o lbaselib.o lbaselib.c
gcc -O2 -Wall -I../../include         -c -o ldblib.o ldblib.c
gcc -O2 -Wall -I../../include         -c -o liolib.o liolib.c
gcc -O2 -Wall -I../../include         -c -o lmathlib.o lmathlib.c
gcc -O2 -Wall -I../../include         -c -o ltablib.o ltablib.c
gcc -O2 -Wall -I../../include         -c -o lstrlib.o lstrlib.c
gcc -O2 -Wall -I../../include         -c -o loadlib.o loadlib.c
ar rcu ../../lib/liblualib.a lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o
ranlib ../../lib/liblualib.a
cd src/luac; make all
gcc -O2 -Wall -I../../include  -I..     -c -o luac.o luac.c
gcc -O2 -Wall -I../../include  -I..     -c -o print.o print.c
gcc -o lopcodes.o -c -O2 -Wall -I../../include -I.. -DLUA_OPNAMES ../lopcodes.c gcc -o ../../bin/luac -Wl,-E luac.o print.o lopcodes.o -L../../lib -llua -llualib -lm -ldl
ld: unknown flag: -E
make[1]: *** [../../bin/luac] Error 1
make: *** [all] Error 2

I was able to compile the 5.0 beta without any problems.

Steven
http://stevenf.com/