mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Compiling from source (markdown)
@@ -104,7 +104,7 @@ otherwise it can only run from an MSYS2 terminal.
|
||||
|
||||
https://stackoverflow.com/questions/6951938/libgmp-10-dll-is-missing
|
||||
|
||||
4. Download and decompress or cpuminer-opt source code or clone the git repo. Need to install git to clone.
|
||||
4. Download and decompress cpuminer-opt source code or clone the repository with git. Need to install git to clone.
|
||||
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
|
||||
@@ -114,6 +114,11 @@ cpuminer-opt and compile. Add `-D_WIN32_WINNT=0x0601` to CFLAGS to enable CPU gr
|
||||
|
||||
`$ CFLAGS="-O3 --param=evrp-mode=legacy -march=native -Wall" ./configure --with-curl`
|
||||
|
||||
or add `-D_WIN32_WINNT=0x0601` to CFLAGS to enable CPU groups. This is required with more than 64 threads or when CPU groups
|
||||
have been configured.
|
||||
|
||||
`$ CFLAGS="-O3 --param=evrp-mode=legacy -march=native -Wall -D_WIN32_WINNT=0x0601" ./configure --with-curl`
|
||||
|
||||
`$ make -j [N]`
|
||||
|
||||
N is the number of compiler threads.
|
||||
|
Reference in New Issue
Block a user