![]() |
![]() |
![]() |
GNOME Data Access 3.0 manual | ![]() |
---|
To compile you will need to set the C flags and to link the library, so we recommend to use the pkg-config command.
$
gcc -c full_example.c `pkg-config --cflags libgda-3.0`
$
gcc -o full_example `pkg-config --libs libgda-3.0` full_example.o
Doing this will add to the C compiler command line all needed header files
and library directories as well as all needed libraries for linking your GDA
application. To include header files, you can just use libgda/libgda.h
,
which will include all GDA header files.