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 --with-ui --o client
--f <list of .o files>
[--l <list of additional libs>]
[--L <list of directories to search libs for>]
|