tools/dev/lib_deps.pl - List libc dependencies
% perl tools/dev/lib_deps.pl [object | source] file1 [file2 ...]
This script is intended to give us an idea of what
libc functions this build depends upon.
objectmode, it expects a list of all parrot's object files. It runs
nmon each and determines what external functions are being called. Note that it assumes a gnu-ish
sourcemode, it uses a the
cxrefprogram (http://www.gedanken.demon.co.uk/cxref/) to extract information from the program source about what functions are being called, what includes are used, etc. This mode is potentially more thorough, but a bit more magical and therefore less conclusive.