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 object mode, it expects a list of all parrot's object files. It runs nm on each and determines what external functions are being called. Note that it assumes a gnu-ish nm.

source

In source mode, it uses a the cxref program (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.