mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Compiling from source (markdown)
@@ -36,19 +36,22 @@ Download and install the latest version of msys2-x86_64 from https://www.msys2.o
|
||||
|
||||
Update packages and install the mingw toolchain but leave the MSYS2 MSYS window open at the end to install more packages in the next step.
|
||||
|
||||
Install the following additional packages required for compiling cpuminer-opt
|
||||
Install additional packages required for compiling cpuminer-opt.
|
||||
|
||||
`$ pacman -S autotools libcurl-devel mingw-w64-x86_64-curl gmp-devel jansson-devel openssl-devel zlib-devel`
|
||||
On x86_64:
|
||||
|
||||
`$ pacman -S autotools libcurl-devel mingw-w64-x86_64-curl gmp-devel jansson-devel zlib-devel`
|
||||
|
||||
On ARM64:
|
||||
|
||||
`$ pacman -S mingw-w64-clang-aarch64-clang mingw-w64-clang-aarch64-autotools mingw-w64-clang-aarch64-curl mingw-w64-clang-aarch64-gmp mingw-w64-clang-aarch64-jansson mingw-w64-clang-aarch64-zlib`
|
||||
|
||||
Other desired packages can also be installed at this time. Some useful ones not installed by default include
|
||||
git, openssh, wget, vim ...
|
||||
|
||||
There will be 3 MSys2 shortcuts installed in the Windows start menu, they have different purposes:
|
||||
* MSYS2 MSYS: administration, package instalation
|
||||
* MSYS2 MINGW64: compiling with GCC
|
||||
* MSYS2 CLANG: compiling with Clang
|
||||
Open the apropriate MSys2 terminal for your architecture from the start menu. On X86_64 open MINGW64 to compile with GCC, on ARM64 open CLANGARM64 to compile with Clang.
|
||||
|
||||
Ensure the correct one is used. GCC is recommended but is only avalable for x86_64 at this time. ARM64 only supports Clang which has problems described in errata below.
|
||||
Ensure the correct one is used. GCC is recommended but is only avalable for x86_64 at this time. On ARM64 the only choice is Clang which has problems described in errata below.
|
||||
|
||||
cpuminer-opt can now be compiled on Windows, see Compiling section below.
|
||||
|
||||
|
Reference in New Issue
Block a user