mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
Update README.md
This commit is contained in:
parent
5af169fd7b
commit
33d752bcaa
1 changed files with 11 additions and 1 deletions
12
README.md
12
README.md
|
@ -73,7 +73,7 @@ Since version 0.8.0.
|
|||
## Build
|
||||
### Ubuntu (Debian-based distros)
|
||||
```
|
||||
sudo apt-get install git build-essential cmake libcurl4-openssl-dev
|
||||
sudo apt-get install git build-essential cmake libuv1-dev
|
||||
git clone https://github.com/xmrig/xmrig.git
|
||||
cd xmrig
|
||||
mkdir build
|
||||
|
@ -81,6 +81,16 @@ cd build
|
|||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
make
|
||||
```
|
||||
#### gcc 7.1
|
||||
```
|
||||
sudo add-apt-repository ppa:jonathonf/gcc-7.1
|
||||
sudo apt-get update
|
||||
apt-get install gcc-7 g++-7
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
### Windows
|
||||
It's complicated, you need [MSYS2](http://www.msys2.org/), custom libcurl build, and of course CMake too.
|
||||
|
|
Loading…
Reference in a new issue