Got a compile problem on Mac OS X:
gcc -o ../../bin/luac -Wl,-E luac.o print.o lopcodes.o -L../../lib
-llua -llualib -lm -ldl
ld: unknown flag: -E
config says:
# Write here any options you may need for your C linker.
# Support for dynamic loading in Linux with gcc needs -Wl,-E. If you
are not
# using gcc or do not want support for dynamic loading, leave
MYLDFLAGS empty.
#
MYLDFLAGS= -Wl,-E
So, just comment the line above. We left this as the default so that
compilation under Linux would work cleanly.