source: general/prog/nasm.xml@ 256ee72c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 256ee72c was 256ee72c, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Adding automatized scripts generation related tags. Prog chapter.

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

  • Property mode set to 100644
File size: 7.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY NASM-download-http "http://prdownloads.sourceforge.net/nasm/nasm-&NASM-version;.tar.bz2">
8 <!ENTITY NASM-download-ftp " ">
9 <!ENTITY NASM-md5sum "2032ad44c7359f7a9a166a40a633e772">
10 <!ENTITY NASM-size "543 KB">
11 <!ENTITY NASM-buildsize "17.3 MB (includes building and installing all docs)">
12 <!ENTITY NASM-time "0.2 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 <keywordset>
22 <keyword role="package">nasm-&NASM-version;.tar</keyword>
23 <keyword role="ftptdir">nasm</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>NASM-&NASM-version;</title>
28
29 <indexterm zone="NASM">
30 <primary sortas="a-NASM">NASM</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to NASM</title>
35
36 <para><application>NASM</application> (Netwide Assembler)
37 is an 80x86 assembler designed for portability and modularity. It includes a
38 disassembler as well.</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&NASM-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&NASM-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &NASM-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &NASM-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &NASM-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &NASM-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
65 <para>Required patch to fix a buffer overrun vulnerability: <ulink
66 url="&patch-root;/nasm-&NASM-version;-security_fix-1.patch"/></para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">NASM Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Optional (for Building Documentation)</bridgehead>
73 <para role="optional"><xref linkend="tex"/>, and
74 <xref linkend="espgs"/> or <xref linkend="gs"/></para>
75
76 </sect2>
77
78 <sect2 role="installation">
79 <title>Installation of NASM</title>
80
81 <para>Install <application>NASM</application> by running
82 the following commands:</para>
83
84<screen><userinput>patch -Np1 -i ../nasm-&NASM-version;-security_fix-1.patch &amp;&amp;
85./configure --prefix=/usr &amp;&amp;
86make &amp;&amp;
87make -C rdoff/doc &amp;&amp;
88make -C rdoff/doc html</userinput></screen>
89
90 <para>To build the base <application>NASM</application> documentation,
91 ensure you have <application>Ghostscript</application> installed and issue:</para>
92
93<screen><userinput>make doc</userinput></screen>
94
95 <para>To build the RDOFF Postscript documentation,
96 ensure you have <xref linkend="tex"/> 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>To build the RDOFF PDF documentation, ensure you have
102 <application>Ghostscript</application> installed and issue:</para>
103
104<screen><userinput>make -C rdoff/doc pdf</userinput></screen>
105
106 <para>This package does not come with a test suite.</para>
107
108 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
109
110<screen role="root"><userinput>make install &amp;&amp;
111make install_rdf &amp;&amp;
112install -v -m644 rdoff/doc/rdoff.info /usr/share/info &amp;&amp;
113install -v -m755 -d /usr/share/doc/nasm/html &amp;&amp;
114install -v -m644 rdoff/doc/v1-v2.txt /usr/share/doc/nasm &amp;&amp;
115cp -v -R rdoff/doc/rdoff /usr/share/doc/nasm/html</userinput></screen>
116
117 <para>If you built the <application>Ghostscript</application> generated
118 documentation, install it using the following commands as the
119 <systemitem class="username">root</systemitem> user:</para>
120
121<screen role="root"><userinput>make install_doc &amp;&amp;
122install -v -m644 rdoff/doc/rdoff.pdf /usr/share/doc/nasm</userinput></screen>
123
124 <para>Lastly, if you built the RDOFF Postscript documentation, install it
125 using the following command as the
126 <systemitem class="username">root</systemitem> user:</para>
127
128<screen role="root"><userinput>install -v -m644 rdoff/doc/rdoff.ps /usr/share/doc/nasm</userinput></screen>
129
130 </sect2>
131
132 <sect2 role="content">
133 <title>Contents</title>
134
135 <segmentedlist>
136 <segtitle>Installed Programs</segtitle>
137 <segtitle>Installed Libraries</segtitle>
138 <segtitle>Installed Directories</segtitle>
139
140 <seglistitem>
141 <seg>nasm, ndisasm, ldrdf, rdf2bin, rdf2com, rdf2ihx, rdfdump, rdflib, and
142 rdx</seg>
143 <seg>None</seg>
144 <seg>/usr/share/doc/nasm</seg>
145 </seglistitem>
146 </segmentedlist>
147
148 <variablelist>
149 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
150 <?dbfo list-presentation="list"?>
151 <?dbhtml list-presentation="table"?>
152
153 <varlistentry id="nasm-prog">
154 <term><command>nasm</command></term>
155 <listitem>
156 <para>is a portable 80x86 assembler.</para>
157 <indexterm zone="NASM nasm-prog">
158 <primary sortas="b-nasm">nasm</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="ndisasm">
164 <term><command>ndisasm</command></term>
165 <listitem>
166 <para>is an 80x86 binary file disassembler.</para>
167 <indexterm zone="NASM ndisasm">
168 <primary sortas="b-ndisasm">ndisasm</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="ldrdf">
174 <term><command>ldrdf</command></term>
175 <listitem>
176 <para>is an RDOFF linker.</para>
177 <indexterm zone="NASM ldrdf">
178 <primary sortas="b-ldrdf">ldrdf</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="rdfdump">
184 <term><command>rdfdump</command></term>
185 <listitem>
186 <para>dumps the contents of an RDOFF file.</para>
187 <indexterm zone="NASM rdfdump">
188 <primary sortas="b-rdfdump">rdfdump</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="rdflib">
194 <term><command>rdflib</command></term>
195 <listitem>
196 <para>is an RDOFF librarian.</para>
197 <indexterm zone="NASM rdflib">
198 <primary sortas="b-rdflib">rdflib</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="rdx">
204 <term><command>rdx</command></term>
205 <listitem>
206 <para>is used to load and execute an RDOFF module.</para>
207 <indexterm zone="NASM rdx">
208 <primary sortas="b-rdx">rdx</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 </variablelist>
214
215 </sect2>
216
217</sect1>
Note: See TracBrowser for help on using the repository browser.