mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Compiling from source (markdown)
@@ -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
|
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
|
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
|
### 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
|
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 (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
|
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`
|
`$ ./autogen.sh`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user