From 3c99d188275ff6bfd4e49bc05a178bcd5d435b27 Mon Sep 17 00:00:00 2001 From: JayDDee Date: Fri, 3 Jan 2025 21:47:34 -0500 Subject: [PATCH] Updated Compiling from source (markdown) --- Compiling-from-source.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Compiling-from-source.md b/Compiling-from-source.md index d434875..bc0be69 100644 --- a/Compiling-from-source.md +++ b/Compiling-from-source.md @@ -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.