gpt_build_config (8) - Linux Man Pages
gpt_build_config: Returns a minimized list of ldflags from a list of globus packages and external libraries.
gpt_build_config - Returns a minimized list of ldflags from a list of globus packages and external libraries.
SYNOPSISgpt_build_config -src <source metadata file> -f <globus_flavor_name> -link [static|shared]
DESCRIPTIONgpt_build_config creates a file in it's current directory named gpt_build_temp.sh that contains a list of necessary flags assembled from the build environment metadata of the packages on which the source metadata depends. This scanning is done recursively to cover the entire dependency tree. This script was initially inspired by the shell script gnome_config.
LINK ORDERThe flag list returned by gpt_build_config is assembled in dependent order. A dependency between two libraries occurs when one library needs the symbols of another library in order to link correctly. For most linkers the library providing the symbols has to be linked after the library that needs the symbols. For example, from the line:
-L/opt/Xpm/lib -lXpm -L/usr/lib/X11 -lXm -lX
gpt_build_config assumes that the library Xpm is dependent on Xm which in turn is dependent on X. In addition, gpt_build_config assumes that Xpm is located in /opt/Xpm/lib and Xm and X are both located in /usr/lib/X11.
BUGSCircular dependencies between libraries are not supported.
AUTHORMichael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <eblau.ncsa.uiuc.edu>