[gtkada] Lib subdirectory

Arnaud Charlet charlet at adacore.com
Thu Jul 3 11:03:18 CEST 2008


> A) C:\GtkAda\lib => all these .a libs are the import libraries for the gtk+ libraries. 
>    The gtk+ import libraries refere to the gtk+ dlls, which are in my C:\GtkAda\bin.
>    Is this correct?

Yes.

> B) C:\GtkAda\include\gtkada => all these .a files are also the import libraries exept the gtkada.a and the gtkada_c.a 
>    Is this correct?

Yes.

> C) What is the diff between gtkada.a and gtkada_c.a?

One contains Ada code, the other C code.

> D) When I link my programm against a shared gtkada, then I have to link against the gtkada.dll?
>
> E) Against what import libs of gtk+ should I link? The one in C:\GtkAda\lib or the one in C:\GtkAda\include\gtkada?

This will be handled automatically when building your GtkAda
application, either by using gtkada project files, or by using
gnatmake -I/gtkada/include/gtkada app -largs -lgtkada.

Arno



More information about the gtkada mailing list