Updated Compiling from source (markdown)

JayDDee
2022-01-14 21:46:24 -05:00
parent ce2009f56c
commit 669b97947f

@@ -94,17 +94,18 @@ Windows 7 or newer is required. The compiled executable can only run on the syst
it was built. Use the hard way for a portable package.
1. Download and install the latest version of msys2-x86_64 from https://www.msys2.org/
Leave the MSYS2 MSYS window open to install more packages in the next step.
2. Install the following additional packages
`$ pacman -Su autoconf libcurl-devel mingw-w64-x86_64-curl gmp-devel jansson-devel openssl-devel zlib-devel`
`$ pacman -S autotools libcurl-devel mingw-w64-x86_64-curl gmp-devel jansson-devel openssl-devel zlib-devel`
3. Set environment variable to allow cpuminer-opt to be run from a Windows terminal,
3. Set an environment variable to allow cpuminer-opt to run from a Windows terminal,
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. Need to install git to clone.
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.
5. Open "MSYS2 MinGW-w64" from the Windows start menu, change directories to the downloaded