Updated Compiling from source (markdown)

JayDDee
2022-01-14 17:22:25 -05:00
parent 2d90b34497
commit de87a7e6e4

@@ -71,7 +71,7 @@ or
`$ CFLAGS="-O3 -march=native -Wall" ./configure --with-curl`
`$ make -j n`
`$ make -j [N]`
n is the number of threads.
@@ -111,7 +111,9 @@ usually c:\msys2\home\[windows user]\ or a directory of your choice.
5. Open "MSYS2 MinGW-w64" from the Windows start menu, change directories to the downloaded
cpuminer-opt and compile.
`$ ./build.sh`
`$ ./autogen.sh`
`$ CFLAGS="-O3 --param=evrp-mode=legacy -march=native -Wall" ./configure --with-curl`
`$ make -j [N]`
6. Run cpuminer.exe directly from an MSYS2 terminal or, if step 3 was performed above,
it can run in a Windows terminal on the same system.