contrib: add instructions re cross-compiling libsecp to Linux x86
related: #6669 (note that instructions assume this commit as otherwise AUTOCONF_FLAGS is overwritten!) based on https://stackoverflow.com/a/17748092
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
# $ GCC_TRIPLET_HOST="i686-w64-mingw32" ./contrib/make_libsecp256k1.sh
|
||||
# Or for a Windows x86_64 (64-bit) target, run:
|
||||
# $ GCC_TRIPLET_HOST="x86_64-w64-mingw32" ./contrib/make_libsecp256k1.sh
|
||||
#
|
||||
# To cross-compile to Linux x86:
|
||||
# sudo apt-get install gcc-multilib g++-multilib
|
||||
# $ AUTOCONF_FLAGS="--host=i686-linux-gnu CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32" ./contrib/make_libsecp256k1.sh
|
||||
|
||||
LIBSECP_VERSION="dbd41db16a0e91b2566820898a3ab2d7dad4fe00"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user