mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Compiling from source (markdown)
@@ -126,26 +126,25 @@ Download and build other packages for mingw that don't have a mingw64 version av
|
|||||||
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
|
openssl: https://github.com/openssl/openssl/releases
|
||||||
curl
|
|
||||||
gmp
|
|
||||||
|
|
||||||
In most cases the latest vesrion is ok but it's safest to download
|
curl: https://github.com/curl/curl/releases
|
||||||
the same major and minor version as included in your distribution.
|
|
||||||
|
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.
|
||||||
|
|
||||||
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
|
Do not run "make install" unless you are using /usr/lib, which isn't recommended.
|
||||||
recommended.
|
|
||||||
|
|
||||||
Some instructions insist on running "make check". If make check fails
|
Some instructions insist on running "make check". If make check fails it may still work, YMMV.
|
||||||
it may still work, YMMV.
|
|
||||||
|
|
||||||
You can speed up "make" by using all CPU cores available with "-j n" where
|
You can speed up "make" by using all CPU cores available with "-j n" where n is the number of
|
||||||
n is the number of CPU threads you want to use.
|
CPU threads you want to use.
|
||||||
|
|
||||||
openssl:
|
openssl:
|
||||||
|
|
||||||
|
|
||||||
`./Configure mingw64 shared --cross-compile-prefix=x86_64-w64-mingw32-`
|
`./Configure mingw64 shared --cross-compile-prefix=x86_64-w64-mingw32-`
|
||||||
|
|
||||||
`make`
|
`make`
|
||||||
@@ -159,14 +158,14 @@ curl:
|
|||||||
|
|
||||||
`make`
|
`make`
|
||||||
|
|
||||||
|
|
||||||
gmp:
|
gmp:
|
||||||
|
|
||||||
|
|
||||||
`./configure --host=x86_64-w64-mingw32`
|
`./configure --host=x86_64-w64-mingw32`
|
||||||
|
|
||||||
`make`
|
`make`
|
||||||
|
|
||||||
|
Create symlinks to abstract the package version from the file path or include the version
|
||||||
|
in commands below.
|
||||||
|
|
||||||
### Tweak the environment.
|
### Tweak the environment.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user