Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > cd14cddf3b3ceaf1193157472227757a > files > 384

parrot-doc-1.6.0-1mdv2010.0.i586.rpm

<!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> &raquo; <a href="../../../html/tools.html">Tools</a> &raquo; List libc dependencies
                </div>

<h1><a name="NAME"
>NAME</a></h1>

<p>tools/dev/lib_deps.pl &#45; 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&#39;s object files. It runs <code>nm</code> on each and determines what external functions are being called. Note that it assumes a gnu&#45;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 &copy; 2002-2009, Parrot Foundation.
            </div>
        </div> <!-- "wrapper" -->
    </body>
</html>