2004-06-13 06:56:28 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-13 06:56:28 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2012-08-26 01:13:31 +08:00
|
|
|
<!ENTITY NASM-download-http "http://www.nasm.us/pub/nasm/releasebuilds/&NASM-version;/nasm-&NASM-version;.tar.xz">
|
2010-03-18 01:38:24 +08:00
|
|
|
<!ENTITY NASM-download-ftp " ">
|
2013-01-03 03:19:46 +08:00
|
|
|
<!ENTITY NASM-md5sum "b13c433bbf3cfe055c5b830066aed4ba">
|
|
|
|
<!ENTITY NASM-size "668 KB">
|
|
|
|
<!ENTITY NASM-buildsize "26 MB" >
|
2011-11-16 12:12:05 +08:00
|
|
|
<!ENTITY NASM-time "0.1 SBU">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2003-09-03 09:17:42 +08:00
|
|
|
<sect1 id="NASM" xreflabel="NASM-&NASM-version;">
|
2005-05-06 00:59:41 +08:00
|
|
|
<?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>
|
|
|
|
|
2005-05-31 05:38:32 +08:00
|
|
|
<para><application>NASM</application> (Netwide Assembler)
|
|
|
|
is an 80x86 assembler designed for portability and modularity. It includes a
|
2005-05-06 00:59:41 +08:00
|
|
|
disassembler as well.</para>
|
|
|
|
|
2012-08-26 01:13:31 +08:00
|
|
|
&lfs72_checked;
|
2010-11-01 02:51:10 +08:00
|
|
|
|
2005-05-06 00:59:41 +08:00
|
|
|
<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>
|
2011-11-16 12:12:05 +08:00
|
|
|
|
2005-08-09 06:44:12 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
2005-11-30 03:07:13 +08:00
|
|
|
<listitem>
|
2011-11-16 12:12:05 +08:00
|
|
|
<para>Optional documentation: <ulink
|
2012-08-26 01:13:31 +08:00
|
|
|
url="http://www.nasm.us/pub/nasm/releasebuilds/&NASM-version;/nasm-&NASM-version;-xdoc.tar.xz"/></para>
|
2005-08-09 06:44:12 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2011-11-16 12:12:05 +08:00
|
|
|
|
2006-04-11 02:35:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/nasm"/></para>
|
|
|
|
|
2005-05-06 00:59:41 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of NASM</title>
|
|
|
|
|
2011-11-16 12:12:05 +08:00
|
|
|
<para>If you downloaded the optional documentation, put it into the
|
|
|
|
source tree:</para>
|
|
|
|
|
2012-09-16 03:31:38 +08:00
|
|
|
<screen><userinput>tar -xf ../nasm-&NASM-version;-xdoc.tar.xz --strip-components=1</userinput></screen>
|
2011-11-16 12:12:05 +08:00
|
|
|
|
2005-05-31 05:38:32 +08:00
|
|
|
<para>Install <application>NASM</application> by running
|
2005-05-06 00:59:41 +08:00
|
|
|
the following commands:</para>
|
|
|
|
|
2009-12-31 01:21:05 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
2011-11-16 12:12:05 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2005-05-06 00:59:41 +08:00
|
|
|
<para>This package does not come with a test suite.</para>
|
2005-05-01 18:55:42 +08:00
|
|
|
|
2005-05-06 00:59:41 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
2005-01-01 05:06:50 +08:00
|
|
|
|
2011-11-16 12:12:05 +08:00
|
|
|
<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; &&
|
2013-01-03 03:19:46 +08:00
|
|
|
cp -v doc/info/* /usr/share/info &&
|
|
|
|
install-info /usr/share/info/nasm.info /usr/share/info/dir</userinput></screen>
|
|
|
|
|
2005-05-06 00:59:41 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
2013-01-03 03:19:46 +08:00
|
|
|
<segtitle>Installed Directory</segtitle>
|
2005-05-06 00:59:41 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2012-08-26 01:13:31 +08:00
|
|
|
<seg>nasm and ndisasm</seg>
|
2010-03-18 01:38:24 +08:00
|
|
|
<seg>/usr/share/doc/nasm-&NASM-version;</seg>
|
2005-05-06 00:59:41 +08:00
|
|
|
</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>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2003-09-03 09:17:42 +08:00
|
|
|
|
|
|
|
</sect1>
|