Skip to content

Instantly share code, notes, and snippets.

View martin-schmidt's full-sized avatar

Martin Schmidt martin-schmidt

  • Kreuzberg, Berlin, Germany, Europe, Earth, Solar System, Solar Interstellar Neighborhood, Milky Way, Local Group, Virgo Supercluster
View GitHub Profile
@martin-schmidt
martin-schmidt / crosscompile_cpuminer_mingw64.txt
Created February 6, 2016 15:54
how to cross-compile pooler's cpuminer for windows x64 on ubuntu
# Tested on ubuntu 12.04 and 14.04, you might be able to use something similar
# to build it on windows using mingw...
# Putting the instructions here in case someone might find it useful
sudo apt-get install git automake autoconf make mingw-w64-x86-64-dev mingw-w64-tools mingw-w64
wget http://curl.haxx.se/download/curl-7.40.0.tar.gz
wget ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.tar.gz
git clone https://github.com/pooler/cpuminer
tar zxf curl-7.40.0.tar.gz && tar zxf pthreads-w32-2-9-1-release.tar.gz
mkdir win64_deps