linux64 build

This commit is contained in:
Cosmin Apreutesei
2014-01-30 16:37:01 +00:00
parent 617d885939
commit 1a7cf44654
4 changed files with 5 additions and 26 deletions
+2
View File
@@ -1 +1,3 @@
struct 0.2 from http://www.inf.puc-rio.br/~roberto/struct/ (MIT License)
NOTE: 64bit systems not supported.
+1 -13
View File
@@ -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
+2 -13
View File
@@ -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"