Difference between revisions of "Talk:Cross Compiling FileZilla 3 for Windows under Ubuntu or Debian GNU/Linux"

From FileZilla Wiki
Jump to navigationJump to search
Line 16: Line 16:
  
 
-- Add 'patching mingw32-runtime'.
 
-- Add 'patching mingw32-runtime'.
 +
 +
----
 +
You can set PKG_CONFIG_PATH to the directory containing the installed gnutls .pkg file, that way you don't have to fiddle with the old libgnutls-config. --[[User:CodeSquid|CodeSquid]] 07:43, 22 September 2009 (UTC)

Revision as of 09:43, 22 September 2009

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)

-- Add 'patching mingw32-runtime'.


You can set PKG_CONFIG_PATH to the directory containing the installed gnutls .pkg file, that way you don't have to fiddle with the old libgnutls-config. --CodeSquid 07:43, 22 September 2009 (UTC)