Some initial work.
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
This is a patched copy of LuaJIT 2.1.0-beta3
|
||||
Josh's notes:
|
||||
|
||||
Each time you modify LuaJIT, you need to manually rebuild it:
|
||||
|
||||
prelua-build.bat
|
||||
|
||||
This also copies the library file to the target locations.
|
||||
|
||||
-----------------------------
|
||||
|
||||
README for LuaJIT 2.1.0-beta3
|
||||
|
||||
8
luprex/luajit/prelua-build.bat
Normal file
8
luprex/luajit/prelua-build.bat
Normal file
@@ -0,0 +1,8 @@
|
||||
cd src
|
||||
make libluajit.a
|
||||
cp libluajit.a ../../lib
|
||||
cp lua.h ../../inc
|
||||
cp luaconf.h ../../inc
|
||||
cp lauxlib.h ../../inc
|
||||
cp lualib.h ../../inc
|
||||
cp lauxlib.h ../../inc
|
||||
@@ -36,7 +36,8 @@ CC= $(DEFAULT_CC)
|
||||
# to slow down the C part by not omitting it. Debugging, tracebacks and
|
||||
# unwinding are not affected -- the assembler part has frame unwind
|
||||
# information and GCC emits it where needed (x64) or with -g (see CCDEBUG).
|
||||
CCOPT= -O2 -fomit-frame-pointer
|
||||
#CCOPT= -O2 -fomit-frame-pointer
|
||||
CCOPT=
|
||||
# Use this if you want to generate a smaller binary (but it's slower):
|
||||
#CCOPT= -Os -fomit-frame-pointer
|
||||
# Note: it's no longer recommended to use -O3 with GCC 4.x.
|
||||
@@ -56,7 +57,7 @@ CCOPT_mips=
|
||||
#
|
||||
CCDEBUG=
|
||||
# Uncomment the next line to generate debug information:
|
||||
#CCDEBUG= -g
|
||||
CCDEBUG= -g
|
||||
#
|
||||
CCWARN= -Wall
|
||||
# Uncomment the next line to enable more warnings:
|
||||
|
||||
Reference in New Issue
Block a user