<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Parrot - List libc dependencies</title> <link rel="stylesheet" type="text/css" href="../../../resources/parrot.css" media="all"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <div id="wrapper"> <div id="header"> <a href="http://www.parrot.org"> <img border=0 src="../../../resources/parrot_logo.png" id="logo" alt="parrot"> </a> </div> <!-- "header" --> <div id="divider"></div> <div id="mainbody"> <div id="breadcrumb"> <a href="../../../html/index.html">Home</a> » <a href="../../../html/tools.html">Tools</a> » List libc dependencies </div> <h1><a name="NAME" >NAME</a></h1> <p>tools/dev/lib_deps.pl - List libc dependencies</p> <h1><a name="SYNOPSIS" >SYNOPSIS</a></h1> <pre> % perl tools/dev/lib_deps.pl [object | source] file1 [file2 ...]</pre> <h1><a name="DESCRIPTION" >DESCRIPTION</a></h1> <p>This script is intended to give us an idea of what <code>libc</code> functions this build depends upon.</p> <h2><a name="Options" >Options</a></h2> <dl> <dt><a name="object" ><b><code>object</b></code></a></dt> In <code>object</code> mode, it expects a list of all parrot's object files. It runs <code>nm</code> on each and determines what external functions are being called. Note that it assumes a gnu-ish <code>nm</code>. <dt><a name="source" ><b><code>source</b></code></a></dt> In <code>source</code> mode, it uses a the <code>cxref</code> program (<a href='http://www.gedanken.demon.co.uk/cxref/'><a href="http://www.gedanken.demon.co.uk/cxref/">http://www.gedanken.demon.co.uk/cxref/</a></a>) 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.</dl> </div> <!-- "mainbody" --> <div id="divider"></div> <div id="footer"> Copyright © 2002-2011, Parrot Foundation. </div> </div> <!-- "wrapper" --> </body> </html>