FW: [PHP-GTK-DEV] RE: building GTK2 from src on win32

From: Date: Wed, 07 Jan 2004 20:39:05 +0000
Subject: FW: [PHP-GTK-DEV] RE: building GTK2 from src on win32
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-607@lists.php.net to get a copy of this message
aaahhhhh the #define for G_GSIZE_FORMAT and friend are missing! The 'original' config file has this define: case $glib_size_type in short) gsize_modifier='"h"' gsize_format='"hu"' gssize_format='"hi"' ;; int) gsize_modifier='""' gsize_format='"u"' gssize_format='"i"' ;; long) gsize_modifier='"l"' gsize_format='"lu"' gssize_format='"li"' ;; esac where $glib_size_type is the type returned by sizeof(size_t). We could run into problems over this one, glib's configure doesn't give the option for 64-bit support. #define GLIB_SIZEOF_SIZE_T 4 I added the following lines to glibconfig.h and glibconfig.h.win32 at line 73 (copy happens too late for gnulib build) #define G_GSIZE_FORMAT "lu" #define G_GSSIZE_FORMAT "li" This fixes the test build problems, I'm just stuck on the lack of libintl/libiconv linkage now.

« previous php.gtk.dev (#607) next »