NAME
tools/dev/lib_deps.pl - List libc dependencies
SYNOPSIS
% perl tools/dev/lib_deps.pl [object | source] file1 [file2 ...]
DESCRIPTION
This script is intended to give us an idea of what libc functions this build depends upon.
Options
object-
In
objectmode, it expects a list of all parrot's object files. It runsnmon each and determines what external functions are being called. Note that it assumes a gnu-ishnm. source-
In
sourcemode, it uses a thecxrefprogram (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.