Updated Home (markdown)

JayDDee
2020-03-01 20:41:07 -05:00
parent 0fbf3c1ab3
commit ebf07209e6

11
Home.md

@@ -300,11 +300,13 @@ openssl:
./Configure mingw64 shared --cross-compile-prefix=x86_64-w64-mingw32
make
`
curl:
`./configure --with-winssl --with-winidn --host=x86_64-w64-mingw32
make
`
gmp:
`
@@ -321,7 +323,9 @@ Define some local variables to point to local library.
`$ export LOCAL_LIB="$HOME/usr/lib"`
'$ export LDFLAGS="-L$LOCAL_LIB/curl/lib/.libs -L$LOCAL_LIB/gmp/.libs -L$LOCAL_LIB/openssl"'
'$ export CONFIGURE_ARGS="--with-curl=$LOCAL_LIB/curl --with-crypto=$LOCAL_LIB/openssl --host=x86_64-w64-mingw32"'
@@ -332,11 +336,17 @@ recreated every a source package is decompressed.
`$ mkdir release`
`$ cp /usr/x86_64-w64-mingw32/lib/zlib1.dll release/`
`$ cp /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll release/`
`$ cp /usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/libstdc++-6.dll release/`
`$ cp /usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/libgcc_s_seh-1.dll release/`
`$ cp $LOCAL_LIB/openssl/libcrypto-1_1-x64.dll release/`
`$ cp $LOCAL_LIB/curl/lib/.libs/libcurl-4.dll release/`
@@ -353,7 +363,6 @@ https://github.com/JayDDee/cpuminer-opt/releases
Decompress and change to the cpuminer-opt directory.
### Prepare to compile
Create a link to the locally compiled version of gmp.h