sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git
Then choose:
-------------------------------------------------
Option A: Cross-compile Windows wallets (64 bit)
-------------------------------------------------
sudo apt-get install g++-mingw-w64-x86-64 mingw-w64-x86-64-dev
# Pick posix version for the following!
sudo update-alternatives --config x86_64-w64-mingw32-gcc
sudo update-alternatives --config x86_64-w64-mingw32-g++
cd depends
make -j 24 HOST=x86_64-w64-mingw32
# *** TIME FOR A REST HERE THIS TAKES SOME TIME ***
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
make -j 24
Optional: strip the binaries to reduce size at this point if you're going to share them.
-------------------------------------------------
Option B: Compile native Linux wallets
-------------------------------------------------
cd depends
make -j 24
# *** ANOTHER PLEASE WAIT MOMENT OR TWO ***
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-pc-linux-gnu/share/config.site ./configure --prefix=/
make -j 24
Optional: strip the binaries to reduce size at this point if you're going to share them.