Cross compiling iTALC for Windows on Linux
==========================================

- Create an Ubuntu 12.04 (minimal) installation

- Add the cross compiler repository to your /etc/apt/sources.list

    sudo add-apt-repository ppa:tobydox/mingw

  Maybe add-apt-repository is not installed on your Ubuntu system. If this
  is the case, run the following command:

    sudo apt-get install python-software-properties

  Next update your package list cache (e.g. apt-get update or similiar)

- Install the following packages:

  * cmake
  * nsis
  * tofrodos
  * mingw32-x-gcc
  * mingw32-x-qt
  * mingw32-x-zlib
  * mingw32-x-openssl
  * mingw32-x-libjpeg
  * mingw32-x-pthreads
  * gcj-jdk 
  * make

  e.g. "sudo apt-get install cmake nsis tofrodos mingw32-x-gcc mingw32-x-qt mingw32-x-zlib mingw32-x-openssl mingw32-x-libjpeg  mingw32-x-pthreads gcj-jdk make"
  or   "sudo apt-get install cmake nsis tofrodos mingw64-x-gcc mingw64-x-qt mingw64-x-zlib mingw64-x-openssl mingw64-x-libjpeg  mingw64-x-pthreads gcj-jdk make"

- Change into the iTALC source directory and type

  mkdir build32
  cd build32
  ../build_mingw32
  make win-nsi

- This will build a ready-to-use Win32 installer like the ones you can download
  from the iTALC website.

- If you want to build a Win64 installer, replace all occurences of "32" in the
  above instructions (including package names) with "64".
