README 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. This is a multi-threaded CPU and GPU miner for bitcoin.
  2. License: GPLv2. See COPYING for details.
  3. Dependencies:
  4. libcurl http://curl.haxx.se/libcurl/
  5. jansson http://www.digip.org/jansson/
  6. (jansson is included in-tree and an installed one may conflict)
  7. Basic *nix build instructions:
  8. To build with GPU mining support:
  9. Install AMD APP sdk, latest version - there is no offiical place to
  10. install it so just keep track of where it is if you're not installing
  11. the include files and library files into the system directory.
  12. ./autogen.sh # only needed if building from git repo
  13. CFLAGS="-O3 -Wall -march=native" ./configure
  14. or if you haven't installed the ati files in system locations:
  15. CFLAGS="-O3 -Wall -march=native -I<path to AMD APP include>" LDFLAGS="-L<path to AMD APP lib/x86_64> ./configure
  16. make
  17. Note that you need to use /x86_64 for 64bit and /x86 for 32bit builds
  18. If it finds the opencl files it will inform you with
  19. "OpenCL: FOUND. GPU mining support enabled."
  20. Basic WIN32 build instructions (on Fedora 13; requires mingw32):
  21. ./autogen.sh # only needed if building from git repo
  22. rm -f mingw32-config.cache
  23. MINGW32_CFLAGS="-O3 -Wall -msse2" mingw32-configure
  24. make
  25. ./mknsis.sh
  26. Native WIN32 build instructions (on mingw32, on windows):
  27. Install AMD APP sdk, latest version
  28. Install mingw32
  29. Install libcurl, copy libcurl.m4 into /mingw/share/aclocal
  30. Run:
  31. autoreconf -fvi
  32. CFLAGS="-O3 -Wall -msse2 -I<path to AMD APP include>" LDFLAGS="-L<path to AMD APP lib/x86>" ./configure
  33. make
  34. Usage instructions: Run "cgminer --help" to see options.
  35. Also many issues and FAQs are covered in the forum thread
  36. dedicated to this program,
  37. http://forum.bitcoin.org/index.php?topic=21275.0
  38. The output line shows the following:
  39. [(5s):204.4 (avg):203.1 Mh/s] [Q:56 A:51 R:4 HW:0 E:91% U:2.47/m]
  40. Each column is as follows:
  41. A 5 second exponentially decaying average hash rate
  42. An all time average hash rate
  43. The number of requested work items
  44. The number of accepted shares
  45. The number of rejected shares
  46. The number of hardware erorrs
  47. The efficiency defined as the accepted shares / requested work
  48. The utility defines as the number of shares / minute