Nice and tight.. DO THIS:
sudo apt-get update
sudo apt-get upgrade
sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git g++-mingw-w64-x86-64
sudo update-alternatives --config x86_64-w64-mingw32-g++
git clone https://github.com/dobbscoin/dobbscoin-econocalypse.git
cd dobbscoin-econocalypse
cd depends
chmod 744 config.guess
chmod 744 config.sub
make HOST=x86_64-w64-mingw32
cd ..
chmod 744 ./autogen.sh
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
chmod 744 share/genbuild.sh
chmod 744 src/leveldb/build_detect_platform
make
SWAP SHIT like this to make other builds..
Common host-platform-triplets for cross compilation are:
i686-w64-mingw32 for Win32
x86_64-w64-mingw32 for Win64
x86_64-apple-darwin11 for MacOSX
arm-linux-gnueabihf for Linux ARM 32 bit
aarch64-linux-gnu for Linux ARM 64 bit
-Vola