1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY NASM-download-http "http://www.nasm.us/pub/nasm/releasebuilds/&NASM-version;/nasm-&NASM-version;.tar.bz2">
|
---|
8 | <!ENTITY NASM-download-ftp " ">
|
---|
9 | <!ENTITY NASM-md5sum "2e02cb6e90f52950eaaa8cce7a9f2327">
|
---|
10 | <!ENTITY NASM-size "800 KB">
|
---|
11 | <!ENTITY NASM-buildsize "19 MB" >
|
---|
12 | <!ENTITY NASM-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="NASM" xreflabel="NASM-&NASM-version;">
|
---|
16 | <?dbhtml filename="NASM.html" ?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>NASM-&NASM-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="NASM">
|
---|
26 | <primary sortas="a-NASM">NASM</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to NASM</title>
|
---|
31 |
|
---|
32 | <para><application>NASM</application> (Netwide Assembler)
|
---|
33 | is an 80x86 assembler designed for portability and modularity. It includes a
|
---|
34 | disassembler as well.</para>
|
---|
35 |
|
---|
36 | &lfs71_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>Download (HTTP): <ulink url="&NASM-download-http;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download (FTP): <ulink url="&NASM-download-ftp;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download MD5 sum: &NASM-md5sum;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download size: &NASM-size;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated disk space required: &NASM-buildsize;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated build time: &NASM-time;</para>
|
---|
57 | </listitem>
|
---|
58 | </itemizedlist>
|
---|
59 |
|
---|
60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
61 | <itemizedlist spacing="compact">
|
---|
62 | <listitem>
|
---|
63 | <para>Optional documentation: <ulink
|
---|
64 | url="http://www.nasm.us/pub/nasm/releasebuilds/&NASM-version;/nasm-&NASM-version;-xdoc.tar.bz2"/></para>
|
---|
65 | </listitem>
|
---|
66 | </itemizedlist>
|
---|
67 |
|
---|
68 | <para condition="html" role="usernotes">User Notes:
|
---|
69 | <ulink url="&blfs-wiki;/nasm"/></para>
|
---|
70 |
|
---|
71 | </sect2>
|
---|
72 |
|
---|
73 | <sect2 role="installation">
|
---|
74 | <title>Installation of NASM</title>
|
---|
75 |
|
---|
76 | <para>If you downloaded the optional documentation, put it into the
|
---|
77 | source tree:</para>
|
---|
78 |
|
---|
79 | <screen><userinput>pushd .. &&
|
---|
80 | tar -xf nasm-&NASM-version;-xdoc.tar.bz2 &&
|
---|
81 | popd</userinput></screen>
|
---|
82 |
|
---|
83 | <para>Install <application>NASM</application> by running
|
---|
84 | the following commands:</para>
|
---|
85 |
|
---|
86 | <screen><userinput>./configure --prefix=/usr &&
|
---|
87 | make</userinput></screen>
|
---|
88 |
|
---|
89 | <para>This package does not come with a test suite.</para>
|
---|
90 |
|
---|
91 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
92 |
|
---|
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 |
|
---|
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; &&
|
---|
102 | cp -v doc/info/* /usr/share/info &&
|
---|
103 | pushd /usr/share/info &&
|
---|
104 | install-info nasm.info dir &&
|
---|
105 | popd</userinput></screen>
|
---|
106 |
|
---|
107 | <!-- install_rdf &&
|
---|
108 | install -v -m755 -d /usr/share/doc/nasm-&NASM-version;/html &&
|
---|
109 | install -v -m644 rdoff/doc/rdoff/* \
|
---|
110 | /usr/share/doc/nasm-&NASM-version;/html &&
|
---|
111 | install -v -m644 rdoff/doc/{*.txt,rdoff.html} \
|
---|
112 | /usr/share/doc/nasm-&NASM-version; &&
|
---|
113 | install -v -m644 rdoff/doc/rdoff.info* \
|
---|
114 | /usr/share/info &&
|
---|
115 | pushd /usr/share/info &&
|
---|
116 | rm -fv dir &&
|
---|
117 | for FILENAME in *; do install-info $FILENAME dir; done &&
|
---|
118 | unset FILENAME &&
|
---|
119 | popd</userinput></screen>
|
---|
120 |
|
---|
121 | <para>If you built the <application>Ghostscript</application> generated
|
---|
122 | documentation, install it using the following commands as the
|
---|
123 | <systemitem class="username">root</systemitem> user:</para>
|
---|
124 |
|
---|
125 | <screen role="root"><userinput>sed -i 's|doc/nasm|share/doc/nasm-&NASM-version;|' doc/Makefile &&
|
---|
126 | make install_doc &&
|
---|
127 |
|
---|
128 | pushd /usr/share/info &&
|
---|
129 | rm -fv dir &&
|
---|
130 | for FILENAME in *; do install-info $FILENAME dir; done &&
|
---|
131 | unset FILENAME &&
|
---|
132 | popd</userinput></screen>
|
---|
133 |
|
---|
134 | <para>Lastly, if you built the RDOFF PDF and Postscript documentation,
|
---|
135 | install it using the following command as the
|
---|
136 | <systemitem class="username">root</systemitem> user:</para>
|
---|
137 |
|
---|
138 | <screen role="root"><userinput>install -v -m644 rdoff/doc/rdoff.p{df,s} \
|
---|
139 | /usr/share/doc/nasm-&NASM-version;</userinput></screen>
|
---|
140 | -->
|
---|
141 | </sect2>
|
---|
142 |
|
---|
143 | <sect2 role="content">
|
---|
144 | <title>Contents</title>
|
---|
145 |
|
---|
146 | <segmentedlist>
|
---|
147 | <segtitle>Installed Programs</segtitle>
|
---|
148 | <segtitle>Installed Libraries</segtitle>
|
---|
149 | <segtitle>Installed Directories</segtitle>
|
---|
150 |
|
---|
151 | <seglistitem>
|
---|
152 | <seg>nasm, ndisasm, ldrdf, rdf2bin, rdf2com, rdf2ihx, rdf2ith, rdf2srec,
|
---|
153 | rdfdump, rdflib, and rdx</seg>
|
---|
154 | <seg>None</seg>
|
---|
155 | <seg>/usr/share/doc/nasm-&NASM-version;</seg>
|
---|
156 | </seglistitem>
|
---|
157 | </segmentedlist>
|
---|
158 |
|
---|
159 | <variablelist>
|
---|
160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
161 | <?dbfo list-presentation="list"?>
|
---|
162 | <?dbhtml list-presentation="table"?>
|
---|
163 |
|
---|
164 | <varlistentry id="nasm-prog">
|
---|
165 | <term><command>nasm</command></term>
|
---|
166 | <listitem>
|
---|
167 | <para>is a portable 80x86 assembler.</para>
|
---|
168 | <indexterm zone="NASM nasm-prog">
|
---|
169 | <primary sortas="b-nasm">nasm</primary>
|
---|
170 | </indexterm>
|
---|
171 | </listitem>
|
---|
172 | </varlistentry>
|
---|
173 |
|
---|
174 | <varlistentry id="ndisasm">
|
---|
175 | <term><command>ndisasm</command></term>
|
---|
176 | <listitem>
|
---|
177 | <para>is an 80x86 binary file disassembler.</para>
|
---|
178 | <indexterm zone="NASM ndisasm">
|
---|
179 | <primary sortas="b-ndisasm">ndisasm</primary>
|
---|
180 | </indexterm>
|
---|
181 | </listitem>
|
---|
182 | </varlistentry>
|
---|
183 |
|
---|
184 | <varlistentry id="ldrdf">
|
---|
185 | <term><command>ldrdf</command></term>
|
---|
186 | <listitem>
|
---|
187 | <para>is an RDOFF linker.</para>
|
---|
188 | <indexterm zone="NASM ldrdf">
|
---|
189 | <primary sortas="b-ldrdf">ldrdf</primary>
|
---|
190 | </indexterm>
|
---|
191 | </listitem>
|
---|
192 | </varlistentry>
|
---|
193 |
|
---|
194 | <varlistentry id="rdf2bin">
|
---|
195 | <term><command>rdf2bin</command></term>
|
---|
196 | <listitem>
|
---|
197 | <para>converts an RDOFF object file to flat binary.</para>
|
---|
198 | <indexterm zone="NASM rdf2bin">
|
---|
199 | <primary sortas="b-rdf2bin">rdf2bin</primary>
|
---|
200 | </indexterm>
|
---|
201 | </listitem>
|
---|
202 | </varlistentry>
|
---|
203 |
|
---|
204 | <varlistentry id="rdfdump">
|
---|
205 | <term><command>rdfdump</command></term>
|
---|
206 | <listitem>
|
---|
207 | <para>dumps the contents of an RDOFF file.</para>
|
---|
208 | <indexterm zone="NASM rdfdump">
|
---|
209 | <primary sortas="b-rdfdump">rdfdump</primary>
|
---|
210 | </indexterm>
|
---|
211 | </listitem>
|
---|
212 | </varlistentry>
|
---|
213 |
|
---|
214 | <varlistentry id="rdflib">
|
---|
215 | <term><command>rdflib</command></term>
|
---|
216 | <listitem>
|
---|
217 | <para>is an RDOFF librarian.</para>
|
---|
218 | <indexterm zone="NASM rdflib">
|
---|
219 | <primary sortas="b-rdflib">rdflib</primary>
|
---|
220 | </indexterm>
|
---|
221 | </listitem>
|
---|
222 | </varlistentry>
|
---|
223 |
|
---|
224 | <varlistentry id="rdx">
|
---|
225 | <term><command>rdx</command></term>
|
---|
226 | <listitem>
|
---|
227 | <para>is used to load and execute an RDOFF module.</para>
|
---|
228 | <indexterm zone="NASM rdx">
|
---|
229 | <primary sortas="b-rdx">rdx</primary>
|
---|
230 | </indexterm>
|
---|
231 | </listitem>
|
---|
232 | </varlistentry>
|
---|
233 |
|
---|
234 | </variablelist>
|
---|
235 |
|
---|
236 | </sect2>
|
---|
237 |
|
---|
238 | </sect1>
|
---|