mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Compiling from source (markdown)
@@ -133,7 +133,8 @@ curl: https://github.com/curl/curl/releases
|
||||
gmp: https://gmplib.org/download/gmp/
|
||||
|
||||
In most cases the latest version is ok but it's safest to download the same major and minor version
|
||||
as included in your distribution.
|
||||
as included in your distribution. The following uses versions from Ubuntu 20.04. Change version numbers
|
||||
as required.
|
||||
|
||||
Run the following commands or follow the supplied instructions.
|
||||
Do not run "make install" unless you are using /usr/lib, which isn't recommended.
|
||||
@@ -149,8 +150,7 @@ openssl:
|
||||
|
||||
`make`
|
||||
|
||||
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.
|
||||
Make may fail with an ld error, just ensure libcrypto-1_1-x64.dll is created.
|
||||
|
||||
curl:
|
||||
|
||||
@@ -164,9 +164,6 @@ gmp:
|
||||
|
||||
`make`
|
||||
|
||||
Create symlinks to abstract the package version from the file path or include the version
|
||||
in commands below.
|
||||
|
||||
### Tweak the environment.
|
||||
|
||||
This step is required everytime you login or the commands can be added to
|
||||
@@ -187,17 +184,15 @@ 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
|
||||
recreated every a source package is decompressed.
|
||||
|
||||
"x.y" is the version of GCC.
|
||||
|
||||
`$ 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/x.y-win32/libstdc++-6.dll release/`
|
||||
`$ cp /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/libstdc++-6.dll release/`
|
||||
|
||||
`$ cp /usr/lib/gcc/x86_64-w64-mingw32/x.y-win32/libgcc_s_seh-1.dll release/`
|
||||
`$ cp /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/libgcc_s_seh-1.dll release/`
|
||||
|
||||
`$ cp $LOCAL_LIB/openssl/libcrypto-1_1-x64.dll release/`
|
||||
|
||||
|
Reference in New Issue
Block a user