| parrotcode: List libc dependencies | |
| Contents | Tools |

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.

objectobject 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.sourcesource 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.
|
|
|