#!/usr/bin/bash

#
# Configure a build to cross-compile for windows
# Tuned to the developer's own system, not meant for general use
#

export LDFLAGS="-L ~/coding/crossCompile/WinStuff/lib"
export CC=i686-w64-mingw32-gcc
export AR=i686-w64-mingw32-ar
export RANLIB=i686-w64-mingw32-ranlib
export RC=i686-w64-mingw32-windres
../configure $@ --target=i686-w64-mingw32 --host=x86_64-pc-linux-gnu --with-tcl=/home/simon/coding/crossCompile/WinStuff/lib --with-tk=/home/simon/coding/crossCompile/WinStuff/lib
