[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 " ">
|
---|
[641326c4] | 9 | <!ENTITY nasm-md5sum "6390bd67b07ff1df9fe628b6929c0353">
|
---|
| 10 | <!ENTITY nasm-size "812 KB">
|
---|
[b7547d4] | 11 | <!ENTITY nasm-buildsize "32 MB" >
|
---|
[42aba059] | 12 | <!ENTITY nasm-time "0.2 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 |
|
---|
[de33b2a] | 32 | <para>
|
---|
| 33 | <application>NASM</application> (Netwide Assembler) is an 80x86
|
---|
| 34 | assembler designed for portability and modularity. It includes a
|
---|
| 35 | disassembler as well.
|
---|
| 36 | </para>
|
---|
[5eaa6873] | 37 |
|
---|
[11193870] | 38 | &lfs91_checked;
|
---|
[a9e90a5] | 39 |
|
---|
[5eaa6873] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[de33b2a] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&nasm-download-http;"/>
|
---|
| 45 | </para>
|
---|
[5eaa6873] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[de33b2a] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&nasm-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[5eaa6873] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[de33b2a] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &nasm-md5sum;
|
---|
| 55 | </para>
|
---|
[5eaa6873] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[de33b2a] | 58 | <para>
|
---|
| 59 | Download size: &nasm-size;
|
---|
| 60 | </para>
|
---|
[5eaa6873] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[de33b2a] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &nasm-buildsize;
|
---|
| 65 | </para>
|
---|
[5eaa6873] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[de33b2a] | 68 | <para>
|
---|
| 69 | Estimated build time: &nasm-time;
|
---|
| 70 | </para>
|
---|
[5eaa6873] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
[e31502b1] | 73 |
|
---|
[60791bf] | 74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 75 | <itemizedlist spacing="compact">
|
---|
[bccbdaea] | 76 | <listitem>
|
---|
[de33b2a] | 77 | <para>
|
---|
| 78 | Optional documentation: <ulink
|
---|
| 79 | url="http://www.nasm.us/pub/nasm/releasebuilds/&nasm-version;/nasm-&nasm-version;-xdoc.tar.xz"/>
|
---|
| 80 | </para>
|
---|
[60791bf] | 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
[e31502b1] | 83 |
|
---|
[03e1f8e] | 84 | <bridgehead renderas="sect3">NASM Dependencies</bridgehead>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional (for generating documentation):</bridgehead>
|
---|
| 87 | <para role="optional">
|
---|
| 88 | <xref linkend="asciidoc"/> and
|
---|
| 89 | <xref linkend="xmlto"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
[1039de3] | 92 | <para condition="html" role="usernotes">User Notes:
|
---|
| 93 | <ulink url="&blfs-wiki;/nasm"/></para>
|
---|
| 94 |
|
---|
[5eaa6873] | 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
| 98 | <title>Installation of NASM</title>
|
---|
| 99 |
|
---|
[de33b2a] | 100 | <para>
|
---|
| 101 | If you downloaded the optional documentation, put it into the
|
---|
| 102 | source tree:
|
---|
| 103 | </para>
|
---|
[e31502b1] | 104 |
|
---|
[efdd9de] | 105 | <screen><userinput>tar -xf ../nasm-&nasm-version;-xdoc.tar.xz --strip-components=1</userinput></screen>
|
---|
[e31502b1] | 106 |
|
---|
[de33b2a] | 107 | <para>
|
---|
| 108 | Install <application>NASM</application> by running
|
---|
| 109 | the following commands:
|
---|
| 110 | </para>
|
---|
[5eaa6873] | 111 |
|
---|
[61db33a] | 112 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[e31502b1] | 113 | make</userinput></screen>
|
---|
| 114 |
|
---|
[de33b2a] | 115 | <para>
|
---|
| 116 | This package does not come with a test suite.
|
---|
| 117 | </para>
|
---|
[87053af] | 118 |
|
---|
[de33b2a] | 119 | <para>
|
---|
| 120 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
[bd23186f] | 122 |
|
---|
[efdd9de] | 123 | <!-- dev note: make INSTALLROOT=<DESTDIR> install -->
|
---|
| 124 |
|
---|
[e31502b1] | 125 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 126 |
|
---|
[de33b2a] | 127 | <para>
|
---|
| 128 | If you downloaded the optional documentation, install it with the
|
---|
| 129 | following instructions as the <systemitem
|
---|
| 130 | class="username">root</systemitem> user:
|
---|
| 131 | </para>
|
---|
[e31502b1] | 132 |
|
---|
[efdd9de] | 133 | <screen role="root"><userinput>install -m755 -d /usr/share/doc/nasm-&nasm-version;/html &&
|
---|
| 134 | cp -v doc/html/*.html /usr/share/doc/nasm-&nasm-version;/html &&
|
---|
[42aba059] | 135 | cp -v doc/*.{txt,ps,pdf} /usr/share/doc/nasm-&nasm-version;</userinput></screen>
|
---|
[92b0b42] | 136 |
|
---|
[5eaa6873] | 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
| 143 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 144 | <segtitle>Installed Libraries</segtitle>
|
---|
[92b0b42] | 145 | <segtitle>Installed Directory</segtitle>
|
---|
[5eaa6873] | 146 |
|
---|
| 147 | <seglistitem>
|
---|
[62e5e8f] | 148 | <seg>nasm and ndisasm</seg>
|
---|
[c3c56b2] | 149 | <seg>None</seg>
|
---|
[efdd9de] | 150 | <seg>/usr/share/doc/nasm-&nasm-version;</seg>
|
---|
[5eaa6873] | 151 | </seglistitem>
|
---|
| 152 | </segmentedlist>
|
---|
| 153 |
|
---|
| 154 | <variablelist>
|
---|
| 155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 156 | <?dbfo list-presentation="list"?>
|
---|
| 157 | <?dbhtml list-presentation="table"?>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="nasm-prog">
|
---|
| 160 | <term><command>nasm</command></term>
|
---|
| 161 | <listitem>
|
---|
[de33b2a] | 162 | <para>
|
---|
| 163 | is a portable 80x86 assembler.
|
---|
| 164 | </para>
|
---|
[efdd9de] | 165 | <indexterm zone="nasm nasm-prog">
|
---|
[5eaa6873] | 166 | <primary sortas="b-nasm">nasm</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="ndisasm">
|
---|
| 172 | <term><command>ndisasm</command></term>
|
---|
| 173 | <listitem>
|
---|
[de33b2a] | 174 | <para>
|
---|
| 175 | is an 80x86 binary file disassembler.
|
---|
| 176 | </para>
|
---|
[efdd9de] | 177 | <indexterm zone="nasm ndisasm">
|
---|
[5eaa6873] | 178 | <primary sortas="b-ndisasm">ndisasm</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
| 183 | </variablelist>
|
---|
| 184 |
|
---|
| 185 | </sect2>
|
---|
[284d8e17] | 186 |
|
---|
| 187 | </sect1>
|
---|