source: general/prog/nasm.xml@ 1f828cf

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 1f828cf was 1f828cf, checked in by Randy McMurchy <randy@…>, 13 years ago

Updated to NASM-2.09.04

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

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