Cross Compiling FileZilla 3 for Windows under Ubuntu or Debian GNU/Linux
From FileZilla Wiki
Jump to navigationJump to searchThis documentation explains how to setup a build environment for FileZilla 3 for Windows and how to compile it under Ubuntu or Debian using Mingw-w64. It will take less time and is more simple than Compiling FileZilla 3 under Windows.
OS version
Any recent Linux should do the trick. For the sake of simplicity, this guide focuses on Debian(-based) distributions.
Known-good Debian(-based) distributions:
- Debian 8 (Jessie) or later (recommended)
- Ubuntu 14.04 LTR or later
Setting up the build environment
As root, execute:
apt-get install bzip2 mingw-w64 unzip
GMP
TODO
NETTLE
TODO
GNUTLS
TODO
sqlite
TODO
Compiling wxWidgets
cd ~/src wget http://sourceforge.net/projects/wxwindows/files/3.0.1/wxWidgets-3.0.1.zip unzip wxWidgets-3.0.1.zip -d wxWidgets-3.0.1 cd wxWidgets-3.0.1 ./configure --host=i686-w64-mingw32 --prefix="$HOME/prefix-win32" --disable-shared make make install
Compile FileZilla
cd ~/src wget http://download.filezilla-project.org/client/FileZilla_3.9.0.5_src.tar.bz2 tar xvjf FileZilla_3.9.0.5_src.tar.bz2 cd FileZilla_3.9.0.5_src.tar.bz2 ./configure --host=i686-w64-mingw32 make