There is a script called gda-buildclient which takes care of all the libraries needed for a GDA client application. This is all it does, so you may not find it worthy and bypass its use, but it is included for simplicity.
A typical call to this script would look like this:
gda-buildclient --o client --f <list of .o files> [--l <list of additional libs>] [--L <list of directories to search libs for>]
There is also a script called gda-config which you can use to retrieve compilation and linking flags for GDA clients, in case you want to integrate GDA into your Makefiles. Its syntax is:
Usage: gda-config [OPTIONS] [LIBRARIES] Options: [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] Libraries: client server cppAs you can see, gda-config can be used to retrieve all the information you want about GDA. The two most interesting are --libs and --cflags, which return , respectively, the linking and compilation flags needed for a program making use of the libgda libraries. As there are several ways of using libgda, this script offers parameters to deal with this situation. So, you've got the LIBRARIES parameter, which can take one of three values: client server cpp (for C++).