mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-20 06:08:37 +02:00
Cleanup doc files
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# Compile **xmr-stak** for Linux
|
||||
|
||||
### GNU Compiler
|
||||
```
|
||||
# Ubuntu / Debian
|
||||
sudo apt-get install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev
|
||||
cmake .
|
||||
|
||||
# Fedora
|
||||
sudo dnf install gcc gcc-c++ hwloc-devel libmicrohttpd-devel openssl-devel cmake
|
||||
cmake .
|
||||
|
||||
# CentOS
|
||||
sudo yum install centos-release-scl cmake3 hwloc-devel libmicrohttpd-devel openssl-devel
|
||||
sudo yum install devtoolset-4-gcc*
|
||||
sudo scl enable devtoolset-4 bash
|
||||
cmake3 .
|
||||
|
||||
make install
|
||||
```
|
||||
|
||||
- g++ version 5.1 or higher is required for full C++11 support. CMake release compile scripts, as well as CodeBlocks build environment for debug builds is included.
|
||||
|
||||
### To do a static build for a system without gcc 5.1+
|
||||
```
|
||||
cmake -DCMAKE_LINK_STATIC=ON .
|
||||
make install
|
||||
```
|
||||
Note - cmake caches variables, so if you want to do a dynamic build later you need to specify '-DCMAKE_LINK_STATIC=OFF'
|
||||
|
||||
|
||||
|
||||
@@ -41,42 +41,12 @@ xXl2Nm/u3cPP/eQVrZz5H8eACwIv+LL1EV+9uLanWUa+IO5hHr3KElvKNKD6vN0=
|
||||
=vGQV
|
||||
-----END PGP SIGNATURE-----
|
||||
```
|
||||
## Compile for Windows
|
||||
## Compile guides
|
||||
|
||||
- see [WINCOMPILE.md](WINCOMPILE.md)
|
||||
- [Free BSD](FREEBSDCOMPILE.md)
|
||||
- [Linux](LINUXCOMPILE.md)
|
||||
- [Windows](WINCOMPILE.md)
|
||||
|
||||
## Compile on Linux
|
||||
|
||||
### GNU Compiler
|
||||
```
|
||||
# Ubuntu / Debian
|
||||
sudo apt-get install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev
|
||||
cmake .
|
||||
|
||||
# Fedora
|
||||
sudo dnf install gcc gcc-c++ hwloc-devel libmicrohttpd-devel openssl-devel cmake
|
||||
cmake .
|
||||
|
||||
# CentOS
|
||||
sudo yum install centos-release-scl cmake3 hwloc-devel libmicrohttpd-devel openssl-devel
|
||||
sudo yum install devtoolset-4-gcc*
|
||||
sudo scl enable devtoolset-4 bash
|
||||
cmake3 .
|
||||
|
||||
make install
|
||||
```
|
||||
|
||||
- g++ version 5.1 or higher is required for full C++11 support. CMake release compile scripts, as well as CodeBlocks build environment for debug builds is included.
|
||||
|
||||
### To do a static build for a system without gcc 5.1+
|
||||
```
|
||||
cmake -DCMAKE_LINK_STATIC=ON .
|
||||
make install
|
||||
```
|
||||
Note - cmake caches variables, so if you want to do a dynamic build later you need to specify '-DCMAKE_LINK_STATIC=OFF'
|
||||
|
||||
|
||||
You can find a complete compile guide under [Advanced Compile Options](#advanced-compile-options).
|
||||
|
||||
#### CPU mining performance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user