source: general/prog/nasm.xml@ e31502b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e31502b was e31502b, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to nasm-2.09.10.

Move the sections about running cvs and svn
servers adjacent to the cvs and svn build instructions.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8969 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.1 KB
Line 
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 "15c79dcb5838870a0fac15feb5fade66">
10 <!ENTITY NASM-size "792 KB">
11 <!ENTITY NASM-buildsize "17 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 &lfs70_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 <!--
69 <bridgehead renderas="sect3">NASM Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Optional (for Building Documentation)</bridgehead>
72 <para role="optional"><xref linkend="tetex"/> or
73 <xref linkend="texlive"/>, and
74 <xref linkend="espgs"/> or <xref linkend="gs"/></para>
75 -->
76
77 <para condition="html" role="usernotes">User Notes:
78 <ulink url="&blfs-wiki;/nasm"/></para>
79
80 </sect2>
81
82 <sect2 role="installation">
83 <title>Installation of NASM</title>
84
85 <para>If you downloaded the optional documentation, put it into the
86 source tree:</para>
87
88<screen><userinput>pushd .. &amp;&amp;
89tar -xf nasm-&NASM-version;-xdoc.tar.bz2 &amp;&amp;
90popd</userinput></screen>
91
92 <para>Install <application>NASM</application> by running
93 the following commands:</para>
94
95<screen><userinput>./configure --prefix=/usr &amp;&amp;
96make</userinput></screen>
97
98<!-- make -C rdoff/doc &amp;&amp;
99make -C rdoff/doc html &amp;&amp;
100makeinfo - -html - -no-split -o rdoff/doc/rdoff.html \
101 rdoff/doc/rdoff.texi &amp;&amp;
102makeinfo - -plaintext -o rdoff/doc/rdoff.txt \
103 rdoff/doc/rdoff.texi</userinput></screen>
104
105 <para>To build the base <application>NASM</application>
106 documentation, ensure you have <xref linkend="gs"/> installed and
107 issue:</para>
108
109<screen><userinput>make doc</userinput></screen>
110
111 <para>To build the RDOFF PDF and Postscript documentation,
112 ensure you have <xref linkend="tetex"/> or <xref linkend="texlive"/>
113 installed and issue:</para>
114
115<screen><userinput>sed -i -e "s/dvips \$&lt;/&amp; -o rdoff.ps/" rdoff/doc/Makefile &amp;&amp;
116make -C rdoff/doc pdf &amp;&amp;
117make -C rdoff/doc ps</userinput></screen>
118-->
119 <para>This package does not come with a test suite.</para>
120
121 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
122
123<screen role="root"><userinput>make install</userinput></screen>
124
125 <para>If you downloaded the optional documentation, install it with the
126 following instructions as the <systemitem
127 class="username">root</systemitem> user:</para>
128
129<screen role="root"><userinput>install -m755 -d /usr/share/doc/nasm-&NASM-version;/html &amp;&amp;
130cp -v doc/html/*.html /usr/share/doc/nasm-&NASM-version;/html &amp;&amp;
131cp -v doc/*.{txt,ps,pdf} /usr/share/doc/nasm-&NASM-version; &amp;&amp;
132cp -v doc/info/* /usr/share/info &amp;&amp;
133pushd /usr/share/info &amp;&amp;
134install-info nasm.info dir &amp;&amp;
135popd</userinput></screen>
136
137<!-- install_rdf &amp;&amp;
138install -v -m755 -d /usr/share/doc/nasm-&NASM-version;/html &amp;&amp;
139install -v -m644 rdoff/doc/rdoff/* \
140 /usr/share/doc/nasm-&NASM-version;/html &amp;&amp;
141install -v -m644 rdoff/doc/{*.txt,rdoff.html} \
142 /usr/share/doc/nasm-&NASM-version; &amp;&amp;
143install -v -m644 rdoff/doc/rdoff.info* \
144 /usr/share/info &amp;&amp;
145pushd /usr/share/info &amp;&amp;
146 rm -fv dir &amp;&amp;
147 for FILENAME in *; do install-info $FILENAME dir; done &amp;&amp;
148 unset FILENAME &amp;&amp;
149popd</userinput></screen>
150
151 <para>If you built the <application>Ghostscript</application> generated
152 documentation, install it using the following commands as the
153 <systemitem class="username">root</systemitem> user:</para>
154
155<screen role="root"><userinput>sed -i 's|doc/nasm|share/doc/nasm-&NASM-version;|' doc/Makefile &amp;&amp;
156make install_doc &amp;&amp;
157
158pushd /usr/share/info &amp;&amp;
159 rm -fv dir &amp;&amp;
160 for FILENAME in *; do install-info $FILENAME dir; done &amp;&amp;
161 unset FILENAME &amp;&amp;
162popd</userinput></screen>
163
164 <para>Lastly, if you built the RDOFF PDF and Postscript documentation,
165 install it using the following command as the
166 <systemitem class="username">root</systemitem> user:</para>
167
168<screen role="root"><userinput>install -v -m644 rdoff/doc/rdoff.p{df,s} \
169 /usr/share/doc/nasm-&NASM-version;</userinput></screen>
170-->
171 </sect2>
172
173 <sect2 role="content">
174 <title>Contents</title>
175
176 <segmentedlist>
177 <segtitle>Installed Programs</segtitle>
178 <segtitle>Installed Libraries</segtitle>
179 <segtitle>Installed Directories</segtitle>
180
181 <seglistitem>
182 <seg>nasm, ndisasm, ldrdf, rdf2bin, rdf2com, rdf2ihx, rdf2ith, rdf2srec,
183 rdfdump, rdflib, and rdx</seg>
184 <seg>None</seg>
185 <seg>/usr/share/doc/nasm-&NASM-version;</seg>
186 </seglistitem>
187 </segmentedlist>
188
189 <variablelist>
190 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
191 <?dbfo list-presentation="list"?>
192 <?dbhtml list-presentation="table"?>
193
194 <varlistentry id="nasm-prog">
195 <term><command>nasm</command></term>
196 <listitem>
197 <para>is a portable 80x86 assembler.</para>
198 <indexterm zone="NASM nasm-prog">
199 <primary sortas="b-nasm">nasm</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="ndisasm">
205 <term><command>ndisasm</command></term>
206 <listitem>
207 <para>is an 80x86 binary file disassembler.</para>
208 <indexterm zone="NASM ndisasm">
209 <primary sortas="b-ndisasm">ndisasm</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="ldrdf">
215 <term><command>ldrdf</command></term>
216 <listitem>
217 <para>is an RDOFF linker.</para>
218 <indexterm zone="NASM ldrdf">
219 <primary sortas="b-ldrdf">ldrdf</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="rdf2bin">
225 <term><command>rdf2bin</command></term>
226 <listitem>
227 <para>converts an RDOFF object file to flat binary.</para>
228 <indexterm zone="NASM rdf2bin">
229 <primary sortas="b-rdf2bin">rdf2bin</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="rdfdump">
235 <term><command>rdfdump</command></term>
236 <listitem>
237 <para>dumps the contents of an RDOFF file.</para>
238 <indexterm zone="NASM rdfdump">
239 <primary sortas="b-rdfdump">rdfdump</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 <varlistentry id="rdflib">
245 <term><command>rdflib</command></term>
246 <listitem>
247 <para>is an RDOFF librarian.</para>
248 <indexterm zone="NASM rdflib">
249 <primary sortas="b-rdflib">rdflib</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="rdx">
255 <term><command>rdx</command></term>
256 <listitem>
257 <para>is used to load and execute an RDOFF module.</para>
258 <indexterm zone="NASM rdx">
259 <primary sortas="b-rdx">rdx</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 </variablelist>
265
266 </sect2>
267
268</sect1>
Note: See TracBrowser for help on using the repository browser.