[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[efdd9de] | 7 | <!ENTITY nasm-download-http "http://www.nasm.us/pub/nasm/releasebuilds/&nasm-version;/nasm-&nasm-version;.tar.xz">
|
---|
| 8 | <!ENTITY nasm-download-ftp " ">
|
---|
[4b1bf842] | 9 | <!ENTITY nasm-md5sum "0d461a085b088a14dd6628c53be1ce28">
|
---|
| 10 | <!ENTITY nasm-size "747 KB">
|
---|
| 11 | <!ENTITY nasm-buildsize "22 MB" >
|
---|
[2bf87d8] | 12 | <!ENTITY nasm-time "0.1 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[efdd9de] | 15 | <sect1 id="nasm" xreflabel="NASM-&nasm-version;">
|
---|
| 16 | <?dbhtml filename="nasm.html" ?>
|
---|
[5eaa6873] | 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[efdd9de] | 23 | <title>NASM-&nasm-version;</title>
|
---|
[5eaa6873] | 24 |
|
---|
[efdd9de] | 25 | <indexterm zone="nasm">
|
---|
[5eaa6873] | 26 | <primary sortas="a-NASM">NASM</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to NASM</title>
|
---|
| 31 |
|
---|
[7cd76d62] | 32 | <para><application>NASM</application> (Netwide Assembler)
|
---|
| 33 | is an 80x86 assembler designed for portability and modularity. It includes a
|
---|
[5eaa6873] | 34 | disassembler as well.</para>
|
---|
| 35 |
|
---|
[39187f1e] | 36 | &lfs77_checked;
|
---|
[a9e90a5] | 37 |
|
---|
[5eaa6873] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
[efdd9de] | 41 | <para>Download (HTTP): <ulink url="&nasm-download-http;"/></para>
|
---|
[5eaa6873] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[efdd9de] | 44 | <para>Download (FTP): <ulink url="&nasm-download-ftp;"/></para>
|
---|
[5eaa6873] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[efdd9de] | 47 | <para>Download MD5 sum: &nasm-md5sum;</para>
|
---|
[5eaa6873] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[efdd9de] | 50 | <para>Download size: &nasm-size;</para>
|
---|
[5eaa6873] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[efdd9de] | 53 | <para>Estimated disk space required: &nasm-buildsize;</para>
|
---|
[5eaa6873] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[efdd9de] | 56 | <para>Estimated build time: &nasm-time;</para>
|
---|
[5eaa6873] | 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
[e31502b1] | 59 |
|
---|
[60791bf] | 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 61 | <itemizedlist spacing="compact">
|
---|
[bccbdaea] | 62 | <listitem>
|
---|
[e31502b1] | 63 | <para>Optional documentation: <ulink
|
---|
[efdd9de] | 64 | url="http://www.nasm.us/pub/nasm/releasebuilds/&nasm-version;/nasm-&nasm-version;-xdoc.tar.xz"/></para>
|
---|
[60791bf] | 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
[e31502b1] | 67 |
|
---|
[1039de3] | 68 | <para condition="html" role="usernotes">User Notes:
|
---|
| 69 | <ulink url="&blfs-wiki;/nasm"/></para>
|
---|
| 70 |
|
---|
[5eaa6873] | 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of NASM</title>
|
---|
| 75 |
|
---|
[0d7900a] | 76 | <para>If you downloaded the optional documentation, put it into the
|
---|
[e31502b1] | 77 | source tree:</para>
|
---|
| 78 |
|
---|
[efdd9de] | 79 | <screen><userinput>tar -xf ../nasm-&nasm-version;-xdoc.tar.xz --strip-components=1</userinput></screen>
|
---|
[e31502b1] | 80 |
|
---|
[7cd76d62] | 81 | <para>Install <application>NASM</application> by running
|
---|
[5eaa6873] | 82 | the following commands:</para>
|
---|
| 83 |
|
---|
[61db33a] | 84 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[e31502b1] | 85 | make</userinput></screen>
|
---|
| 86 |
|
---|
[5eaa6873] | 87 | <para>This package does not come with a test suite.</para>
|
---|
[87053af] | 88 |
|
---|
[5eaa6873] | 89 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[bd23186f] | 90 |
|
---|
[efdd9de] | 91 | <!-- dev note: make INSTALLROOT=<DESTDIR> install -->
|
---|
| 92 |
|
---|
[e31502b1] | 93 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | <para>If you downloaded the optional documentation, install it with the
|
---|
| 96 | following instructions as the <systemitem
|
---|
| 97 | class="username">root</systemitem> user:</para>
|
---|
| 98 |
|
---|
[efdd9de] | 99 | <screen role="root"><userinput>install -m755 -d /usr/share/doc/nasm-&nasm-version;/html &&
|
---|
| 100 | cp -v doc/html/*.html /usr/share/doc/nasm-&nasm-version;/html &&
|
---|
| 101 | cp -v doc/*.{txt,ps,pdf} /usr/share/doc/nasm-&nasm-version; &&
|
---|
[f374379d] | 102 | cp -v doc/info/* /usr/share/info &&
|
---|
[92b0b42] | 103 | install-info /usr/share/info/nasm.info /usr/share/info/dir</userinput></screen>
|
---|
| 104 |
|
---|
[5eaa6873] | 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="content">
|
---|
| 108 | <title>Contents</title>
|
---|
| 109 |
|
---|
| 110 | <segmentedlist>
|
---|
| 111 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 112 | <segtitle>Installed Libraries</segtitle>
|
---|
[92b0b42] | 113 | <segtitle>Installed Directory</segtitle>
|
---|
[5eaa6873] | 114 |
|
---|
| 115 | <seglistitem>
|
---|
[62e5e8f] | 116 | <seg>nasm and ndisasm</seg>
|
---|
[c3c56b2] | 117 | <seg>None</seg>
|
---|
[efdd9de] | 118 | <seg>/usr/share/doc/nasm-&nasm-version;</seg>
|
---|
[5eaa6873] | 119 | </seglistitem>
|
---|
| 120 | </segmentedlist>
|
---|
| 121 |
|
---|
| 122 | <variablelist>
|
---|
| 123 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 124 | <?dbfo list-presentation="list"?>
|
---|
| 125 | <?dbhtml list-presentation="table"?>
|
---|
| 126 |
|
---|
| 127 | <varlistentry id="nasm-prog">
|
---|
| 128 | <term><command>nasm</command></term>
|
---|
| 129 | <listitem>
|
---|
| 130 | <para>is a portable 80x86 assembler.</para>
|
---|
[efdd9de] | 131 | <indexterm zone="nasm nasm-prog">
|
---|
[5eaa6873] | 132 | <primary sortas="b-nasm">nasm</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="ndisasm">
|
---|
| 138 | <term><command>ndisasm</command></term>
|
---|
| 139 | <listitem>
|
---|
| 140 | <para>is an 80x86 binary file disassembler.</para>
|
---|
[efdd9de] | 141 | <indexterm zone="nasm ndisasm">
|
---|
[5eaa6873] | 142 | <primary sortas="b-ndisasm">ndisasm</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
| 147 | </variablelist>
|
---|
| 148 |
|
---|
| 149 | </sect2>
|
---|
[284d8e17] | 150 |
|
---|
| 151 | </sect1>
|
---|