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;
|
|
|
|
|
2021-04-05 20:36:04 +08:00
|
|
|
<!ENTITY nasm-download-http "https://www.nasm.us/pub/nasm/releasebuilds/&nasm-version;/nasm-&nasm-version;.tar.xz">
|
2014-01-06 19:35:07 +08:00
|
|
|
<!ENTITY nasm-download-ftp " ">
|
2020-09-05 04:09:46 +08:00
|
|
|
<!ENTITY nasm-md5sum "1c9802446d7341c41c21eb98c7859064">
|
|
|
|
<!ENTITY nasm-size "976 KB">
|
|
|
|
<!ENTITY nasm-buildsize "40 MB" >
|
2017-05-01 01:44:16 +08:00
|
|
|
<!ENTITY nasm-time "0.2 SBU">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2014-01-06 19:35:07 +08:00
|
|
|
<sect1 id="nasm" xreflabel="NASM-&nasm-version;">
|
|
|
|
<?dbhtml filename="nasm.html" ?>
|
2005-05-06 00:59:41 +08:00
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2014-01-06 19:35:07 +08:00
|
|
|
<title>NASM-&nasm-version;</title>
|
2005-05-06 00:59:41 +08:00
|
|
|
|
2014-01-06 19:35:07 +08:00
|
|
|
<indexterm zone="nasm">
|
2005-05-06 00:59:41 +08:00
|
|
|
<primary sortas="a-NASM">NASM</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to NASM</title>
|
|
|
|
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
<application>NASM</application> (Netwide Assembler) is an 80x86
|
|
|
|
assembler designed for portability and modularity. It includes a
|
|
|
|
disassembler as well.
|
|
|
|
</para>
|
2005-05-06 00:59:41 +08:00
|
|
|
|
2021-08-17 23:02:25 +08:00
|
|
|
&lfs110_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>
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&nasm-download-http;"/>
|
|
|
|
</para>
|
2005-05-06 00:59:41 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&nasm-download-ftp;"/>
|
|
|
|
</para>
|
2005-05-06 00:59:41 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &nasm-md5sum;
|
|
|
|
</para>
|
2005-05-06 00:59:41 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
Download size: &nasm-size;
|
|
|
|
</para>
|
2005-05-06 00:59:41 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &nasm-buildsize;
|
|
|
|
</para>
|
2005-05-06 00:59:41 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &nasm-time;
|
|
|
|
</para>
|
2005-05-06 00:59:41 +08:00
|
|
|
</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>
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
Optional documentation: <ulink
|
2021-04-05 20:36:04 +08:00
|
|
|
url="https://www.nasm.us/pub/nasm/releasebuilds/&nasm-version;/nasm-&nasm-version;-xdoc.tar.xz"/>
|
2020-03-12 17:24:44 +08:00
|
|
|
</para>
|
2005-08-09 06:44:12 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2011-11-16 12:12:05 +08:00
|
|
|
|
2019-10-09 05:48:34 +08:00
|
|
|
<bridgehead renderas="sect3">NASM Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional (for generating documentation):</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="asciidoc"/> and
|
|
|
|
<xref linkend="xmlto"/>
|
|
|
|
</para>
|
|
|
|
|
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>
|
|
|
|
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
If you downloaded the optional documentation, put it into the
|
|
|
|
source tree:
|
|
|
|
</para>
|
2011-11-16 12:12:05 +08:00
|
|
|
|
2014-01-06 19:35:07 +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
|
|
|
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
Install <application>NASM</application> by running
|
|
|
|
the following commands:
|
|
|
|
</para>
|
2005-05-06 00:59:41 +08:00
|
|
|
|
2009-12-31 01:21:05 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
2011-11-16 12:12:05 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
2005-05-01 18:55:42 +08:00
|
|
|
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-01-01 05:06:50 +08:00
|
|
|
|
2014-01-06 19:35:07 +08:00
|
|
|
<!-- dev note: make INSTALLROOT=<DESTDIR> install -->
|
|
|
|
|
2011-11-16 12:12:05 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
If you downloaded the optional documentation, install it with the
|
|
|
|
following instructions as the <systemitem
|
|
|
|
class="username">root</systemitem> user:
|
|
|
|
</para>
|
2011-11-16 12:12:05 +08:00
|
|
|
|
2014-01-06 19:35:07 +08:00
|
|
|
<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 &&
|
2017-05-01 01:44:16 +08:00
|
|
|
cp -v doc/*.{txt,ps,pdf} /usr/share/doc/nasm-&nasm-version;</userinput></screen>
|
2013-01-03 03:19:46 +08:00
|
|
|
|
2005-05-06 00:59:41 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
2013-01-26 00:32:25 +08:00
|
|
|
<segtitle>Installed Libraries</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>
|
2013-01-26 00:32:25 +08:00
|
|
|
<seg>None</seg>
|
2014-01-06 19:35:07 +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>
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
is a portable 80x86 assembler
|
2020-03-12 17:24:44 +08:00
|
|
|
</para>
|
2014-01-06 19:35:07 +08:00
|
|
|
<indexterm zone="nasm nasm-prog">
|
2005-05-06 00:59:41 +08:00
|
|
|
<primary sortas="b-nasm">nasm</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="ndisasm">
|
|
|
|
<term><command>ndisasm</command></term>
|
|
|
|
<listitem>
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
is an 80x86 binary file disassembler
|
2020-03-12 17:24:44 +08:00
|
|
|
</para>
|
2014-01-06 19:35:07 +08:00
|
|
|
<indexterm zone="nasm ndisasm">
|
2005-05-06 00:59:41 +08:00
|
|
|
<primary sortas="b-ndisasm">ndisasm</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2003-09-03 09:17:42 +08:00
|
|
|
|
|
|
|
</sect1>
|