mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Compiling from source (markdown)
@@ -98,22 +98,25 @@ it was built. Use the hard way for a portable package.
|
||||
Update packages and install mingw toolchain but leave the MSYS2 MSYS window open at the end to install
|
||||
more packages in the next step.
|
||||
|
||||
2. Install the following additional packages.
|
||||
2. Install the following 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`
|
||||
|
||||
3. Set an environment variable to allow cpuminer-opt to run from a Windows terminal,
|
||||
Other desired packages can also be installed at this time. Some useful ones not installed by default include
|
||||
git, openssh, wget, vim, zip/unzip ...
|
||||
|
||||
3. Set the system Path 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 (install git)
|
||||
4. Download and decompress cpuminer-opt source code or clone the repository with git (if installed)
|
||||
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. "--param=evrp-mode=legacy" is required to workaround a bug in the optimizer.
|
||||
cpuminer-opt and compile. "--param=evrp-mode=legacy" is required to workaround a bug in the compiler's optimizer.
|
||||
"-D_WIN32_WINNT=0x0601" is required to support Windows CPU groups.
|
||||
|
||||
`$ ./autogen.sh`
|
||||
|
Reference in New Issue
Block a user