glfs/general/prog/nasm.xml
Igor Živković 87053af209 Added a test suite note to NASM.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3907 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-05-01 10:55:42 +00:00

181 lines
5.9 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY NASM-download-http "http://prdownloads.sourceforge.net/nasm/nasm-&NASM-version;.tar.bz2">
<!ENTITY NASM-download-ftp " ">
<!ENTITY NASM-md5sum "2032ad44c7359f7a9a166a40a633e772">
<!ENTITY NASM-size "543 KB">
<!ENTITY NASM-buildsize "17.3 MB (includes building and installing all docs)">
<!ENTITY NASM-time "0.20 SBU">
]>
<sect1 id="NASM" xreflabel="NASM-&NASM-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="NASM.html" ?>
<title>NASM-&NASM-version;</title>
<indexterm zone="NASM">
<primary sortas="a-NASM">NASM</primary></indexterm>
<sect2>
<title>Introduction to
<application><acronym>NASM</acronym></application></title>
<para><application><acronym>NASM</acronym></application> (Netwide Assembler)
is an 80x86 assembler designed for portability and modularity. It includes a
disassembler as well.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP):
<ulink url="&NASM-download-http;"/></para></listitem>
<listitem><para>Download (FTP):
<ulink url="&NASM-download-ftp;"/></para></listitem>
<listitem><para>Download MD5 sum: &NASM-md5sum;</para></listitem>
<listitem><para>Download size: &NASM-size;</para></listitem>
<listitem><para>Estimated disk space required:
&NASM-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&NASM-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application><acronym>NASM</acronym></application>
dependencies</title>
<sect4><title>Optional (for building documentation)</title>
<para><xref linkend="tex"/>, and
<xref linkend="espgs"/> or <xref linkend="gs"/></para>
</sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of
<application><acronym>NASM</acronym></application></title>
<para>Install <application><acronym>NASM</acronym></application> by running
the following commands:</para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make -C rdoff/doc &amp;&amp;
make -C rdoff/doc html</command></userinput></screen>
<para>To build the base <application><acronym>NASM</acronym></application>
documentation, ensure you have Ghostscript installed and issue:</para>
<screen><userinput><command>make doc</command></userinput></screen>
<para>To build the <acronym>RDOFF</acronym> Postscript documentation,
ensure you have <xref linkend="tex"/> installed and issue:</para>
<screen><userinput><command>sed -i -e "s/dvips \$&lt;/&amp; -o rdoff.ps/" rdoff/doc/Makefile &amp;&amp;
make -C rdoff/doc ps</command></userinput></screen>
<para>To build the <acronym>RDOFF</acronym> <acronym>PDF</acronym>
documentation, ensure you have Ghostscript installed and issue:</para>
<screen><userinput><command>make -C rdoff/doc pdf</command></userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make install &amp;&amp;
make install_rdf &amp;&amp;
install -v -m644 rdoff/doc/rdoff.info /usr/share/info &amp;&amp;
install -v -m755 -d /usr/share/doc/nasm/html &amp;&amp;
install -v -m644 rdoff/doc/v1-v2.txt /usr/share/doc/nasm &amp;&amp;
cp -v -R rdoff/doc/rdoff /usr/share/doc/nasm/html</command></userinput></screen>
<para>If you built the Ghostscript generated documentation, install it using
the following commands as the root user:</para>
<screen><userinput role='root'><command>make install_doc &amp;&amp;
install -v -m644 rdoff/doc/rdoff.pdf /usr/share/doc/nasm</command></userinput></screen>
<para>Lastly, if you built the <acronym>RDOFF</acronym> Postscript
documentation, install it using the following command as the root user:</para>
<screen><userinput role='root'><command>install -v -m644 rdoff/doc/rdoff.ps /usr/share/doc/nasm</command></userinput></screen>
</sect2>
<sect2>
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>nasm, ndisasm, ldrdf, rdf2bin, rdf2com, rdf2ihx, rdfdump, rdflib and
rdx</seg>
<seg>None</seg>
<seg>/usr/share/doc/nasm</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<varlistentry id="nasm-prog">
<term><command>nasm</command></term>
<listitem><para>is a portable 80x86 assembler.</para>
<indexterm zone="NASM nasm-prog">
<primary sortas="b-nasm">nasm</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="ndisasm">
<term><command>ndisasm</command></term>
<listitem><para>is an 80x86 binary file disassembler.</para>
<indexterm zone="NASM ndisasm">
<primary sortas="b-ndisasm">ndisasm</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="ldrdf">
<term><command>ldrdf</command></term>
<listitem><para>is an <acronym>RDOFF</acronym> linker.</para>
<indexterm zone="NASM ldrdf">
<primary sortas="b-ldrdf">ldrdf</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="rdfdump">
<term><command>rdfdump</command></term>
<listitem><para>dumps the contents of an <acronym>RDOFF</acronym> file.</para>
<indexterm zone="NASM rdfdump">
<primary sortas="b-rdfdump">rdfdump</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="rdflib">
<term><command>rdflib</command></term>
<listitem><para>is an <acronym>RDOFF</acronym> librarian.</para>
<indexterm zone="NASM rdflib">
<primary sortas="b-rdflib">rdflib</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="rdx">
<term><command>rdx</command></term>
<listitem><para>is used to load and execute an <acronym>RDOFF</acronym>
module.</para>
<indexterm zone="NASM rdx">
<primary sortas="b-rdx">rdx</primary>
</indexterm></listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>