source: general/prog/nasm.xml@ f1e103a

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

Added new package TeX Live-20100722

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