LoginSignup
4
3

More than 5 years have passed since last update.

Androidでcpuminerを使おう (BitZeny)

Last updated at Posted at 2018-01-08

はじめに

簡単にやり方だけ解説します

必要な物

  • Termux
    • openssl-dev
    • libcurl4-dev ?
    • clang

やりかた

  1. gccを消す
    • gccclangのシンボリックリンクなのでclanggccとして誤検知されるのを防ぐ
    • cpuminerはclangでもコンパイル出来るので大丈夫
    • rm $(which gcc)
  2. syslog.hの3行をコメントアウト
    • nano ../usr/include/syslog.h
    • 119行付近の以下で始まる行
      • __android_log_vprint
      • __android_log_print
      • android_polyfill_vsyslog
  3. 後は https://github.com/macchky/cpuminer の通り
  4. ./minerd ...でLet's採掘

結論

遅くてそこまで儲からないのでスマホは普通に使おう

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3