source: general/prog/nasm.xml@ c0199301

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 c0199301 was 0af769f, checked in by Randy McMurchy <randy@…>, 14 years ago

Added a command to the NASM instructions to unset a variable

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

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