On Sun, Apr 18, 2010 at 12:40 PM, Vincent Torri <vtorri at univ-evry.fr> wrote: > what is the best way to cross compile on linux for a windows host ? > > Vincent Torri make -f win32/Makefile.gcc PREFIX=x86_64-w64-mingw32- LIBRARY_PATH=`pwd`/xxx/lib INCLUDE_PATH=`pwd`/xxx/include BINARY_PATH=`pwd`/xxx/bin SHARED_MODE=0 install