mirror of
https://github.com/vxcontrol/lualibs-struct.git
synced 2026-07-01 10:05:34 -04:00
linux64 build
This commit is contained in:
@@ -1 +1,3 @@
|
||||
struct 0.2 from http://www.inf.puc-rio.br/~roberto/struct/ (MIT License)
|
||||
|
||||
NOTE: 64bit systems not supported.
|
||||
|
||||
@@ -1,13 +1 @@
|
||||
gcc -O2 -s -static-libgcc struct.c -shared -o ../../bin/linux32/clib/struct.so -I. -I../lua -ansi \
|
||||
-DSTRUCT_INT="long long" \
|
||||
-Wall \
|
||||
-W -pedantic \
|
||||
-Waggregate-return \
|
||||
-Wcast-align \
|
||||
-Wmissing-prototypes \
|
||||
-Wnested-externs \
|
||||
-Wpointer-arith \
|
||||
-Wshadow \
|
||||
-Wwrite-strings
|
||||
|
||||
#../../linux/bin/luajit teststruct.lua
|
||||
gcc -O2 -s -static-libgcc struct.c -shared -o ../../bin/linux32/clib/struct.so -I. -I../lua -ansi -Wall -pedantic
|
||||
|
||||
@@ -1,13 +1,2 @@
|
||||
gcc -O2 -s -static-libgcc struct.c -shared -o ../../bin/mingw32/clib/struct.dll -I. -I../lua -ansi -L../../bin/mingw32 -llua51 \
|
||||
-DSTRUCT_INT="long long" \
|
||||
-Wall \
|
||||
-W -pedantic \
|
||||
-Waggregate-return \
|
||||
-Wcast-align \
|
||||
-Wmissing-prototypes \
|
||||
-Wnested-externs \
|
||||
-Wpointer-arith \
|
||||
-Wshadow \
|
||||
-Wwrite-strings
|
||||
|
||||
#../../bin/luajit teststruct.lua
|
||||
gcc -O2 -s -static-libgcc struct.c -shared -o ../../bin/mingw32/clib/struct.dll -I. -I../lua -L../../bin/mingw32 -llua51 -ansi -Wall -pedantic
|
||||
-DSTRUCT_INT="long long"
|
||||
|
||||
Reference in New Issue
Block a user