mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Compiling from source (markdown)
@@ -109,7 +109,7 @@ Refer to Linux compile instructions and install required packages.
|
|||||||
|
|
||||||
Additionally, install mingw-w64.
|
Additionally, install mingw-w64.
|
||||||
|
|
||||||
`sudo apt-get install mingw-w64`
|
`sudo apt-get install mingw-w64 libz-mingw-w64-dev`
|
||||||
|
|
||||||
|
|
||||||
### Create a local library
|
### Create a local library
|
||||||
@@ -150,7 +150,8 @@ openssl:
|
|||||||
|
|
||||||
`make`
|
`make`
|
||||||
|
|
||||||
Make may fail with an ld error, just ensure libcrypto-x_y-x64.dll & libssl-x_y-x64.dll were created.
|
Make may fail with an ld error, just ensure libcrypto-x_y-x64.dll is created, where x & y are the major
|
||||||
|
and minor version.
|
||||||
|
|
||||||
curl:
|
curl:
|
||||||
|
|
||||||
@@ -187,6 +188,7 @@ 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 a source package is decompressed.
|
||||||
|
|
||||||
|
"x.y" is the version of GCC.
|
||||||
|
|
||||||
`$ mkdir release`
|
`$ mkdir release`
|
||||||
|
|
||||||
@@ -194,9 +196,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/7.3-win32/libstdc++-6.dll release/`
|
`$ cp /usr/lib/gcc/x86_64-w64-mingw32/x.y-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/x.y-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/`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user