Man Linux: Main Page and Category List


       gpt_build_config - Returns a minimized list of ldflags from a list of
       globus packages and external libraries.


       gpt_build_config -src <source metadata file> -f <globus_flavor_name>
       -link [static|shared]


       gpt_build_config creates a file in it’s current directory named 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.


       The 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


       Circular dependencies between libraries are not supported.


       Michael Bletzinger <> and Eric Blau