summaryrefslogtreecommitdiffstats
path: root/doc/compile_FreeBSD.md
blob: 34db1ca702bfa09d532c4a194552c7d37efef365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Compile **xmr-stak** for FreeBSD

## Install Dependencies

*Note: This guide is tested for FreeBSD 11.0-RELEASE*

From the root shell, run the following commands:

    pkg install git libmicrohttpd hwloc cmake 

Type 'y' and hit enter to proceed with installing the packages.

    git clone https://github.com/fireice-uk/xmr-stak.git
    mkdir xmr-stak/build
    cd xmr-stak/build
    cmake ..
    make install

Now you have the binary located at "bin/xmr-stak" and the needed shared libraries.
OpenPOWER on IntegriCloud