[gtkada] Difficulties in installation

Arnaud Charlet charlet at ACT-Europe.FR
Fri May 14 12:21:17 CEST 2004


> Your problems have been reported on this list before.  GtkAda contains
> some C source files.  gnatgcc cannot compile them because it is too
> old and has bugs, or implements an older C standard, or something.

To be accurate, it's "something".

The real reason is that the installed Gtk+ has been compiled with GCC 3,
and Gtk+ in this case produces headers that are incompatible with GCC 2.8

> The workaround is to compile those C files with GCC 3.2 or newer, and
> use GNAT for the Ada files.

That is to say:

CC=/usr/bin/gcc ./configure [usual options] && make install

Arno



More information about the gtkada mailing list