Cross Compile on Linux (x86-64)

Technical discussion about nodes, wallets, transfers, miners, etc.
Post Reply
mqpickens
Posts: 48
Joined: Sat Jun 04, 2022 11:38 pm

Cross Compile on Linux (x86-64)

Post by mqpickens »

The cross-compile bash script (https://github.com/satoshiware/micronod ... compile.sh) will download dependencies then clone and compile the latest micro bitcoin core (https://github.com/satoshiware/bitcoin) master branch commit! Here are the branch commands to get it rolling:
  • login as sudo user (not root)
    • sudo adduser $USER # Create new sudo user (i.e. satoshi)
    • sudo usermod -aG sudo $USER
    • sudo su $USER # Switch to the new user
  • sudo apt-get -y install git
  • bash ~/micronode/cross-compile.sh $MICRONAME
    • Microcurrency Name Examples (look in github @ satoshiware/bitcoin/src/micros for all the names available):
      • azmoney
      • bitcoin
      • deseretmoney
Once complete, look in the ~/bitcoin/bin directory for binaries and associated hashes:
  • $MICRONAME_bitcoin-x86_64-linux-gnu.tar.gz # x86 64-Bit
  • $MICRONAME_bitcoin-aarch64-linux-gnu.tar.gz # ARM 64-Bit
  • $MICRONAME_bitcoin-win64.zip # Windows x86 64-bit
  • $MICRONAME_SHA256SUMS # Checksums
Post Reply