Browse Source

crossbuild makefiles

win-cross^2
root 8 years ago
parent
commit
f2a3454b3c
  1. 4
      crypto777/m_LP_win_cross
  2. 9
      iguana/m_LP_win_cross
  3. 3
      iguana/m_mm_win_cross
  4. 1
      iguana/secp256k1/m_win_cross

4
crypto777/m_LP_win_cross

@ -0,0 +1,4 @@
git pull
rm *.o
i686-w64-mingw32-gcc -DWIN32 -static-libgcc -c -DLIQUIDITY_PROVIDER=1 -O2 *.c jpeg/*.c jpeg/unix/*.c -DPTW32_STATIC_LIB -lm -DCURL_STATICLIB -L../win_lib/lib/ -I../win_lib/include/ -L../win_lib/ -lcurl
rm -f ../agents/libcrypto777.a; ar rc ../agents/libcrypto777.a *.o

9
iguana/m_LP_win_cross

@ -0,0 +1,9 @@
#!/bin/bash
#./configure --enable-endomorphism --enable-module-ecdh --enable-module-schnorr --enable-module-rangeproof --enable-experimental --enable-module_recovery
rm -f ../agents/iguana *.o
git pull
cd secp256k1; ./m_win_cross; cd ..
cd ../crypto777; ./m_LP_win_cross; cd ../iguana
i686-w64-mingw32-gcc -w -static-libgcc -g -fno-aggressive-loop-optimizations -Wno-deprecated -c -O2 -DLIQUIDITY_PROVIDER=1 *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c -L../win_lib/lib -I../win_lib/include -lcurl -lws2_32
i686-w64-mingw32-gcc -w -static-libgcc -g -fno-aggressive-loop-optimizations -Wno-deprecated -c -DLIQUIDITY_PROVIDER=1 main.c iguana777.c iguana_bundles.c ../basilisk/basilisk.c iguana_ramchain.c -L../win_lib/lib -I../win_lib/include -lcurl -lws2_32
i686-w64-mingw32-gcc -w -DWIN32 -static-libgcc -g -o ../agents/iguana.exe *.o ../agents/libcrypto777.a secp256k1.a -static-libgcc -DPTW32_STATIC_LIB -lm -DCURL_STATICLIB -lpthread -L../win_lib/lib -I../win_lib/include -lcurl -I../nanomsg/include -L../nanomsg/lib -lnanomsg -I../iguana -I../includes -I../crypto777 -lws2_32 -lsetupapi

3
iguana/m_mm_win_cross

@ -0,0 +1,3 @@
cd secp256k1; ./m_win_cross; cd ..
i686-w64-mingw32-gcc -w -DWIN32 -static-libgcc -g -o marketmaker.exe -I../crypto777 exchanges/mm.c mini-gmp.c secp256k1.a ../agents/libcrypto777.a -static-libgcc -DPTW32_STATIC_LIB -lm -DCURL_STATICLIB -lpthread -L../win_lib/lib -I../win_lib/include -lcurl -I../nanomsg/include -L../nanomsg/lib -lnanomsg -I../iguana -I../includes -I../crypto777 -lws2_32 -lsetupapi

1
iguana/secp256k1/m_win_cross

@ -0,0 +1 @@
i686-w64-mingw32-gcc -c -o ../secp256k1.a -I. -I./src -I./include -I./src -O3 -W -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fvisibility=hidden -DHAVE_CONFIG_H src/secp256k1.c
Loading…
Cancel
Save