From 935405bee407a3e94e8992668e20f0915ce618d4 Mon Sep 17 00:00:00 2001 From: JayDDee Date: Fri, 14 Jan 2022 23:35:01 -0500 Subject: [PATCH] Updated Compiling from source (markdown) --- Compiling-from-source.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Compiling-from-source.md b/Compiling-from-source.md index f0a6494..f0c75e9 100644 --- a/Compiling-from-source.md +++ b/Compiling-from-source.md @@ -85,7 +85,8 @@ N is the number of threads for the compiler to use. Windows compilation using Visual Studio is not supported. Mingw64 is used on a Linux system (bare metal or virtual machine) to cross-compile cpuminer-opt binaries package -for Windows. That procedure follows this simpler one. +for Windows. That procedure follows this simpler one. Minimal knowledge of the Unix file +system and bash shell are required. ### Building for Windows, the easy way @@ -106,10 +107,12 @@ otherwise it can only run from an MSYS2 terminal. https://stackoverflow.com/questions/6951938/libgmp-10-dll-is-missing 4. Download and decompress cpuminer-opt source code or clone the repository with git (install git) -Your MSYS2 home directory, usually c:\msys2\home\\[windows user]\, or a directory of your choice can be used. +to the directory of your choice. The MSYS2 home directory, usually c:\msys2\home\\[USER]\, or a subdirectory +is a good choice. If intending to use cpuminer.exe from a Windows terminal (step 3 was performed) the user's Windows Documents +folder is recommended. It can be accessed from an MSYS2 terminal using the path /c/users/[USER]/documents. 5. Open "MSYS2 MinGW-w64" from the Windows start menu, change directories to the downloaded -cpuminer-opt and compile. Add `-D_WIN32_WINNT=0x0601` to CFLAGS to enable CPU groups. +cpuminer-opt and compile. `$ ./autogen.sh`