mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Home (markdown)
11
Home.md
11
Home.md
@@ -300,11 +300,13 @@ openssl:
|
|||||||
./Configure mingw64 shared --cross-compile-prefix=x86_64-w64-mingw32
|
./Configure mingw64 shared --cross-compile-prefix=x86_64-w64-mingw32
|
||||||
make
|
make
|
||||||
`
|
`
|
||||||
|
|
||||||
curl:
|
curl:
|
||||||
|
|
||||||
`./configure --with-winssl --with-winidn --host=x86_64-w64-mingw32
|
`./configure --with-winssl --with-winidn --host=x86_64-w64-mingw32
|
||||||
make
|
make
|
||||||
`
|
`
|
||||||
|
|
||||||
gmp:
|
gmp:
|
||||||
|
|
||||||
`
|
`
|
||||||
@@ -321,7 +323,9 @@ Define some local variables to point to local library.
|
|||||||
|
|
||||||
|
|
||||||
`$ export LOCAL_LIB="$HOME/usr/lib"`
|
`$ export LOCAL_LIB="$HOME/usr/lib"`
|
||||||
|
|
||||||
'$ export LDFLAGS="-L$LOCAL_LIB/curl/lib/.libs -L$LOCAL_LIB/gmp/.libs -L$LOCAL_LIB/openssl"'
|
'$ 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"'
|
'$ 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`
|
`$ mkdir release`
|
||||||
|
|
||||||
`$ cp /usr/x86_64-w64-mingw32/lib/zlib1.dll release/`
|
`$ cp /usr/x86_64-w64-mingw32/lib/zlib1.dll release/`
|
||||||
|
|
||||||
`$ cp /usr/x86_64-w64-mingw32/lib/libwinpthread-1.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/libstdc++-6.dll release/`
|
||||||
|
|
||||||
`$ cp /usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/libgcc_s_seh-1.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/openssl/libcrypto-1_1-x64.dll release/`
|
||||||
|
|
||||||
`$ cp $LOCAL_LIB/curl/lib/.libs/libcurl-4.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.
|
Decompress and change to the cpuminer-opt directory.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Prepare to compile
|
### Prepare to compile
|
||||||
|
|
||||||
Create a link to the locally compiled version of gmp.h
|
Create a link to the locally compiled version of gmp.h
|
||||||
|
Reference in New Issue
Block a user