mirror of
https://github.com/vxcontrol/lualibs-dynasm.git
synced 2026-07-01 13:19:14 -04:00
add vxbuild-cross support
This commit is contained in:
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Regular → Executable
BIN
Binary file not shown.
Binary file not shown.
Regular → Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
P=linux32 C="-m32 -fPIC" L="-m32 -s -static-libgcc" D=libdasm_x86.so A=libdasm_x86.a ./build.sh
|
||||
@@ -1 +1 @@
|
||||
P=linux64 C=-fPIC L="-s -static-libgcc" D=libdasm_x86.so A=libdasm_x86.a ./build.sh
|
||||
P=linux64 C="-fPIC" L="-s -static-libgcc" D=libdasm_x86.so A=libdasm_x86.a ./build.sh
|
||||
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
[ `uname` = Linux ] && { export X=i686-w64-mingw32-; }
|
||||
P=mingw32 C="-fPIC" L="-s -static-libgcc" D=dasm_x86.dll A=dasm_x86.a ./build.sh
|
||||
@@ -1 +1,2 @@
|
||||
P=mingw64 L="-s -static-libgcc" D=dasm_x86.dll A=dasm_x86.a ./build.sh
|
||||
[ `uname` = Linux ] && { export X=x86_64-w64-mingw32-; }
|
||||
P=mingw64 C="-fPIC" L="-s -static-libgcc" D=dasm_x86.dll A=dasm_x86.a ./build.sh
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[ `uname` = Linux ] && export X=x86_64-apple-darwin11-
|
||||
P=osx64 C="-arch x86_64" L="-arch x86_64 -install_name @rpath/libdasm_x86.dylib" \
|
||||
[ `uname` = Linux ] && { export X=x86_64-apple-darwin19-; export CC=clang; }
|
||||
P=osx64 C="-arch x86_64 -fPIC" L="-arch x86_64 -install_name @rpath/libdasm_x86.dylib" \
|
||||
D=libdasm_x86.dylib A=libdasm_x86.a ./build.sh
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
${X}gcc -c -O2 $C dasm_x86.c -DDASM_CHECKS
|
||||
${X}gcc *.o -shared $L -o ../../bin/$P/$D
|
||||
[ "$CC" ] || CC=gcc
|
||||
mkdir -p ../../bin/$P
|
||||
${X}${CC} -c -O2 $C dasm_x86.c -DDASM_CHECKS
|
||||
${X}${CC} *.o -shared $L -o ../../bin/$P/$D
|
||||
rm -f ../../bin/$P/$A
|
||||
${X}ar rcs ../../bin/$P/$A *.o
|
||||
rm *.o
|
||||
|
||||
Reference in New Issue
Block a user