Updated Build (markdown)

xmrig 2017-06-16 16:17:13 +03:00
parent c5db403083
commit 860573ec2a

@ -5,7 +5,7 @@ git clone https://github.com/xmrig/xmrig.git
cd xmrig cd xmrig
mkdir build mkdir build
cd build cd build
cmake .. -DCMAKE_BUILD_TYPE=Release cmake .. -DCMAKE_BUILD_TYPE=Release -DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.a
make make
``` ```
### gcc 7.1 ### gcc 7.1
@ -16,7 +16,7 @@ apt-get install gcc-7 g++-7
``` ```
When run cmake manually specify C and C++ compiler: When run cmake manually specify C and C++ compiler:
``` ```
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/gcc-7 -DCMAKE_CXX_COMPILER=/usr/bin/g++-7 cmake .. cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 -DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.a
``` ```
## Windows ## Windows