mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Compiling from source (markdown)
@@ -178,11 +178,15 @@ Define some local variables to point to local library.
|
|||||||
|
|
||||||
`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"`
|
||||||
|
|
||||||
|
Adjust for gcc version:
|
||||||
|
|
||||||
|
`export GCC_MINGW_LIB="/usr/lib/gcc/x86_64-w64-mingw32/9.3-win32"`
|
||||||
|
|
||||||
|
|
||||||
Create a release directory and copy some dll files previously built.
|
Create a release directory and copy some dll files previously built.
|
||||||
This can be done outside of cpuminer-opt and only needs to be done once.
|
This can be done outside of cpuminer-opt and only needs to be done once.
|
||||||
If the release directory is in cpuminer-opt directory it needs to be
|
If the release directory is in cpuminer-opt directory it needs to be
|
||||||
recreated every a source package is decompressed.
|
recreated every time a source package is decompressed.
|
||||||
|
|
||||||
`mkdir release`
|
`mkdir release`
|
||||||
|
|
||||||
@@ -190,9 +194,9 @@ recreated every a source package is decompressed.
|
|||||||
|
|
||||||
`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/9.3-win32/libstdc++-6.dll release/`
|
`cp $GCC_MINGW_LIB/libstdc++-6.dll release/`
|
||||||
|
|
||||||
`cp /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/libgcc_s_seh-1.dll release/`
|
`cp $GCC_MINGW_LIB/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/`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user