[gtkada] Compatibility GtkAda 1.x <-> 2.0

Arnaud Charlet charlet at ACT-Europe.FR
Thu Jan 30 10:50:17 CET 2003


Great, someone who read the docs, I'm impressed :-)

What you're missing is the use of the -mms-bitfields switch when compiling
C files (in particular misc.c).

I've updated the file INSTALL in CVS as follows:

<<
If you are under Windows, you need to use GCC 3.2 (or later) to build the
C files. You can use an older GCC version for the Ada files (gnatmake):
   $ (cd src; patch -p0 < ../contrib/gtkada-2.0-win32.diff)
   $ CC='gcc-3.2 -mms-bitfields' ./configure --prefix=<install_dir>
   $ make install
>>

Which should get you going.
Note that if you're using recent Gtk+ 2.2 packages, the first hunk in
gtkada-2.0-win32.diff can be removed, since gdk_window_get_decorations has
now been implemented.

Arno




More information about the gtkada mailing list