2014년 5월 3일 토요일

Compiling SGMiner on Ubuntu Linux


$ sudo apt-get install libcurl4-openssl-dev pkg-config libtool libncurses5-dev

$ sudo apt-get install autoreconf

download and unzip AMD ADL SDK : http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/

download and install AMD APP SDK : http://developer.amd.com/tools-and-sdks/opencl-zone/opencl-tools-sdks/amd-accelerated-parallel-processing-app-sdk/downloads/

$ cd AMD-APP-SDK

$ sudo ./Install-AMD-APP.sh

$ git clone https://github.com/veox/sgminer.git
$ cd sgminer

$ cp [path where you extracted AMD ADL]/include/* [sgminer source path]/ADL_SDK/

$ autoreconf -i

$ CFLAGS="-O2 -Wall -march=native" ./configure


$ make

$ make install

$ sgminer -o http://pool:port -u username -p password

댓글 없음:

댓글 쓰기