2004-06-13 06:56:28 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-13 06:56:28 +08:00
|
|
|
<!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 " ">
|
2005-04-06 14:56:25 +08:00
|
|
|
<!ENTITY NASM-md5sum "2032ad44c7359f7a9a166a40a633e772">
|
|
|
|
<!ENTITY NASM-size "543 KB">
|
2005-04-11 05:45:19 +08:00
|
|
|
<!ENTITY NASM-buildsize "17.3 MB (includes building and installing all docs)">
|
|
|
|
<!ENTITY NASM-time "0.20 SBU">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2003-09-03 09:17:42 +08:00
|
|
|
<sect1 id="NASM" xreflabel="NASM-&NASM-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-04-14 11:02:41 +08:00
|
|
|
<?dbhtml filename="NASM.html" ?>
|
2003-09-03 09:17:42 +08:00
|
|
|
<title>NASM-&NASM-version;</title>
|
2005-02-02 04:45:29 +08:00
|
|
|
<indexterm zone="NASM">
|
|
|
|
<primary sortas="a-NASM">NASM</primary></indexterm>
|
2003-09-03 09:17:42 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<sect2>
|
2005-01-01 05:06:50 +08:00
|
|
|
<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
|
2004-06-13 06:56:28 +08:00
|
|
|
disassembler as well.</para>
|
2005-01-01 05:06:50 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
2005-01-01 05:06:50 +08:00
|
|
|
<listitem><para>Download (HTTP):
|
|
|
|
<ulink url="&NASM-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&NASM-download-ftp;"/></para></listitem>
|
2005-02-09 10:52:39 +08:00
|
|
|
<listitem><para>Download MD5 sum: &NASM-md5sum;</para></listitem>
|
2004-06-13 06:56:28 +08:00
|
|
|
<listitem><para>Download size: &NASM-size;</para></listitem>
|
2005-01-01 05:06:50 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
|
|
|
&NASM-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&NASM-time;</para></listitem></itemizedlist>
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect3>
|
2005-01-01 05:06:50 +08:00
|
|
|
|
2005-04-11 05:45:19 +08:00
|
|
|
<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>
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
2005-01-01 05:06:50 +08:00
|
|
|
<title>Installation of
|
|
|
|
<application><acronym>NASM</acronym></application></title>
|
|
|
|
|
|
|
|
<para>Install <application><acronym>NASM</acronym></application> by running
|
|
|
|
the following commands:</para>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<screen><userinput><command>./configure --prefix=/usr &&
|
2005-04-11 05:45:19 +08:00
|
|
|
make &&
|
|
|
|
make -C rdoff/doc &&
|
|
|
|
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 \$</& -o rdoff.ps/" rdoff/doc/Makefile &&
|
|
|
|
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>
|
2005-01-01 05:06:50 +08:00
|
|
|
|
2005-05-01 18:55:42 +08:00
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
2005-02-02 04:45:29 +08:00
|
|
|
<para>Now, as the root user:</para>
|
2005-01-01 05:06:50 +08:00
|
|
|
|
2005-04-11 05:45:19 +08:00
|
|
|
<screen><userinput role='root'><command>make install &&
|
|
|
|
make install_rdf &&
|
|
|
|
install -v -m644 rdoff/doc/rdoff.info /usr/share/info &&
|
|
|
|
install -v -m755 -d /usr/share/doc/nasm/html &&
|
|
|
|
install -v -m644 rdoff/doc/v1-v2.txt /usr/share/doc/nasm &&
|
|
|
|
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 &&
|
|
|
|
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>
|
2005-01-01 05:06:50 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
2005-01-01 05:06:50 +08:00
|
|
|
|
2005-02-02 04:45:29 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
2005-01-01 05:06:50 +08:00
|
|
|
|
2005-02-02 04:45:29 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2005-04-11 05:45:19 +08:00
|
|
|
<seg>nasm, ndisasm, ldrdf, rdf2bin, rdf2com, rdf2ihx, rdfdump, rdflib and
|
|
|
|
rdx</seg>
|
2005-02-02 04:45:29 +08:00
|
|
|
<seg>None</seg>
|
2005-04-11 05:45:19 +08:00
|
|
|
<seg>/usr/share/doc/nasm</seg>
|
2005-02-02 04:45:29 +08:00
|
|
|
</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>
|
2005-04-11 05:45:19 +08:00
|
|
|
|
|
|
|
<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>
|
2005-02-02 04:45:29 +08:00
|
|
|
</variablelist>
|
2005-01-01 05:06:50 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
2003-09-03 09:17:42 +08:00
|
|
|
|
|
|
|
</sect1>
|