mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Compiling from source (markdown)
@@ -96,8 +96,7 @@ explained in the same detail here, refer to the Linux procedure for more details
|
|||||||
|
|
||||||
cpuminer-opt can now be built on Windows for Windows using MinGW-w64 and MSYS2.
|
cpuminer-opt can now be built on Windows for Windows using MinGW-w64 and MSYS2.
|
||||||
Windows 7 or newer is required. The compiled executable can only run on the system where
|
Windows 7 or newer is required. The compiled executable can only run on the system where
|
||||||
it was built. If portability is required compile the hard way or use the precompiled
|
it was built.
|
||||||
binaries package.
|
|
||||||
|
|
||||||
#### Install MSYS2
|
#### Install MSYS2
|
||||||
|
|
||||||
@@ -180,7 +179,8 @@ cpuminer.exe --help will give a list of options.
|
|||||||
|
|
||||||
## Building for Windows, the hard way
|
## Building for Windows, the hard way
|
||||||
|
|
||||||
This procedure is used to build the Windows binary release package and is done from a Linux environment.
|
This procedure is only used to build the Windows binary release package and is done from a Linux environment.
|
||||||
|
It is not intended for users.
|
||||||
|
|
||||||
These instructions were written for Debian and Ubuntu compatible distributions
|
These instructions were written for Debian and Ubuntu compatible distributions
|
||||||
but should work on other major distributions as well. However some of the
|
but should work on other major distributions as well. However some of the
|
||||||
@@ -215,20 +215,19 @@ The Suggested location is $HOME/usr/lib/
|
|||||||
|
|
||||||
#### Build libraries
|
#### Build libraries
|
||||||
|
|
||||||
|
The following procedure assumes Ubuntu-20.04 as the host and is the only configuration guaranteed to work.
|
||||||
Download and build other packages for mingw that don't have a mingw64 version available in the repositories.
|
Download and build other packages for mingw that don't have a mingw64 version available in the repositories.
|
||||||
|
|
||||||
Download the following source code packages from their respective and respected download locations,
|
Download the following source code packages from their respective and respected download locations,
|
||||||
copy them to $HOME/usr/lib/ and uncompress them.
|
copy them to $HOME/usr/lib/ and uncompress them.
|
||||||
|
|
||||||
openssl: https://github.com/openssl/openssl/releases
|
openssl v1.1.1f: https://github.com/openssl/openssl/releases
|
||||||
|
|
||||||
curl: https://github.com/curl/curl/releases
|
curl v7.68.0: https://github.com/curl/curl/releases
|
||||||
|
|
||||||
gmp: https://gmplib.org/download/gmp/
|
gmp v6.2.0: 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
|
Download the same versions as currently installed on the host. The versions listed above are for Ubuntu 20.04.
|
||||||
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.
|
Run the following commands or follow the supplied instructions.
|
||||||
Do not run "make install" unless you are using /usr/lib, which isn't recommended.
|
Do not run "make install" unless you are using /usr/lib, which isn't recommended.
|
||||||
|
|||||||
Reference in New Issue
Block a user