README 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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://www.bitcoin.org/smf/index.php?topic=1925.0;all