1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-07 20:44:19 +00:00

doc: Add debug compilation instructions.

This commit is contained in:
Noel Maersk 2014-01-21 21:03:04 +02:00
parent 4de27856af
commit 45bf2f2335

View File

@ -68,6 +68,8 @@ Then:
CFLAGS="-O2 -Wall -march=native" ./configure <options> CFLAGS="-O2 -Wall -march=native" ./configure <options>
make make
To compile a debug version, replace `-O2` with `-ggdb`.
Systemwide installation is optional. You may run `sgminer` from the build Systemwide installation is optional. You may run `sgminer` from the build
directory directly, or `make install` if you wish to install directory directly, or `make install` if you wish to install
`sgminer` to a system location or a location you specified with `--prefix`. `sgminer` to a system location or a location you specified with `--prefix`.