Talk:Cross Compiling FileZilla 3 for Windows under Ubuntu or Debian GNU/Linux

From FileZilla Wiki
Revision as of 08:50, 20 September 2009 by CodeSquid (talk | contribs)
Jump to navigationJump to search

Doing this as root is both dangerous and unnecessary. Please update the guide to use a prefix that is writable by the user, such as ~/prefix

-- OK, I'll update it.

by User:CodeSquid, mingw32 is broken in Debian 5. But, I can't find snprintf and %lu, and I'm happy to use FileZilla 3 cross-compiled in Debian 5.

tar jxvf <all libraries, filezilla tar.bz2>
find . -name "*.c*" -exec grep -H "snprintf.*\%lu" {} \; | wl -l
       0

wxWidget use some sprintf (not snprintf). However, sprintf's %lu operate correctly.

-- hmm, it's wrong. There are some problem. snprintf and %lu is used in mingw32's library.

Easiest way to check is to transfer a big files. If the broken mingw32-runtime is used, the time elapsed/remaining in the queue is not displayed properly. --CodeSquid 06:50, 20 September 2009 (UTC)