Re: C Gtk, ada and gnat



> you need to tell gnatmake to link with the gtk libraries.
> 
> $ gnatmake -L/path/to/my/c-lib my_ada_main -largs -lmy_c_lib -largs
> `gtk-config --libs`

Note that there is actually a gtkada-config script, similar to gtk-config,
that also adds the gtkada specific options.

One can even do
gnatmake my_ada_main `gtkada-config`

Arno




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]