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.
libc
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.
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.
cxref
To install Ruby, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ruby
CPAN shell
perl -MCPAN -e shell install Ruby
For more information on module installation, please visit the detailed CPAN module installation guide.