mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-29 10:52:14 +08:00
61b9fa2d52
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10669 af4574ff-66df-0310-9fd7-8a98e5e911e0
234 lines
7.7 KiB
XML
234 lines
7.7 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY NASM-download-http "http://www.nasm.us/pub/nasm/releasebuilds/&NASM-version;/nasm-&NASM-version;.tar.xz">
|
|
<!ENTITY NASM-download-ftp " ">
|
|
<!ENTITY NASM-md5sum "0a676909137bddfeebff09a9381cceb2">
|
|
<!ENTITY NASM-size "668 KB">
|
|
<!ENTITY NASM-buildsize "16 MB" >
|
|
<!ENTITY NASM-time "0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="NASM" xreflabel="NASM-&NASM-version;">
|
|
<?dbhtml filename="NASM.html" ?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>NASM-&NASM-version;</title>
|
|
|
|
<indexterm zone="NASM">
|
|
<primary sortas="a-NASM">NASM</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to NASM</title>
|
|
|
|
<para><application>NASM</application> (Netwide Assembler)
|
|
is an 80x86 assembler designed for portability and modularity. It includes a
|
|
disassembler as well.</para>
|
|
|
|
&lfs72_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<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>
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Optional documentation: <ulink
|
|
url="http://www.nasm.us/pub/nasm/releasebuilds/&NASM-version;/nasm-&NASM-version;-xdoc.tar.xz"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/nasm"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of NASM</title>
|
|
|
|
<para>If you downloaded the optional documentation, put it into the
|
|
source tree:</para>
|
|
|
|
<screen><userinput>tar -xf ../nasm-&NASM-version;-xdoc.tar.xz --strip-components=1</userinput></screen>
|
|
|
|
<para>Install <application>NASM</application> by running
|
|
the following commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
<para>If you downloaded the optional documentation, install it with the
|
|
following instructions as the <systemitem
|
|
class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>install -m755 -d /usr/share/doc/nasm-&NASM-version;/html &&
|
|
cp -v doc/html/*.html /usr/share/doc/nasm-&NASM-version;/html &&
|
|
cp -v doc/*.{txt,ps,pdf} /usr/share/doc/nasm-&NASM-version; &&
|
|
cp -v doc/info/* /usr/share/info &&
|
|
pushd /usr/share/info &&
|
|
install-info nasm.info dir &&
|
|
popd</userinput></screen>
|
|
|
|
<!-- install_rdf &&
|
|
install -v -m755 -d /usr/share/doc/nasm-&NASM-version;/html &&
|
|
install -v -m644 rdoff/doc/rdoff/* \
|
|
/usr/share/doc/nasm-&NASM-version;/html &&
|
|
install -v -m644 rdoff/doc/{*.txt,rdoff.html} \
|
|
/usr/share/doc/nasm-&NASM-version; &&
|
|
install -v -m644 rdoff/doc/rdoff.info* \
|
|
/usr/share/info &&
|
|
pushd /usr/share/info &&
|
|
rm -fv dir &&
|
|
for FILENAME in *; do install-info $FILENAME dir; done &&
|
|
unset FILENAME &&
|
|
popd</userinput></screen>
|
|
|
|
<para>If you built the <application>Ghostscript</application> generated
|
|
documentation, install it using the following commands as the
|
|
<systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>sed -i 's|doc/nasm|share/doc/nasm-&NASM-version;|' doc/Makefile &&
|
|
make install_doc &&
|
|
|
|
pushd /usr/share/info &&
|
|
rm -fv dir &&
|
|
for FILENAME in *; do install-info $FILENAME dir; done &&
|
|
unset FILENAME &&
|
|
popd</userinput></screen>
|
|
|
|
<para>Lastly, if you built the RDOFF PDF and Postscript documentation,
|
|
install it using the following command as the
|
|
<systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>install -v -m644 rdoff/doc/rdoff.p{df,s} \
|
|
/usr/share/doc/nasm-&NASM-version;</userinput></screen>
|
|
-->
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>nasm and ndisasm</seg>
|
|
<seg>/usr/share/doc/nasm-&NASM-version;</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<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 RDOFF linker.</para>
|
|
<indexterm zone="NASM ldrdf">
|
|
<primary sortas="b-ldrdf">ldrdf</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="rdf2bin">
|
|
<term><command>rdf2bin</command></term>
|
|
<listitem>
|
|
<para>converts an RDOFF object file to flat binary.</para>
|
|
<indexterm zone="NASM rdf2bin">
|
|
<primary sortas="b-rdf2bin">rdf2bin</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="rdfdump">
|
|
<term><command>rdfdump</command></term>
|
|
<listitem>
|
|
<para>dumps the contents of an RDOFF 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 RDOFF 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 RDOFF module.</para>
|
|
<indexterm zone="NASM rdx">
|
|
<primary sortas="b-rdx">rdx</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry> -->
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|