source: general/prog/nasm.xml@ 9519b52

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 9519b52 was 9519b52, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated to NASM-0.98.39

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

  • Property mode set to 100644
File size: 5.9 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.20 SBU">
13]>
14
15<sect1 id="NASM" xreflabel="NASM-&NASM-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="NASM.html" ?>
21<title>NASM-&NASM-version;</title>
22<indexterm zone="NASM">
23<primary sortas="a-NASM">NASM</primary></indexterm>
24
25<sect2>
26<title>Introduction to
27<application><acronym>NASM</acronym></application></title>
28
29<para><application><acronym>NASM</acronym></application> (Netwide Assembler)
30is an 80x86 assembler designed for portability and modularity. It includes a
31disassembler as well.</para>
32
33<sect3><title>Package information</title>
34<itemizedlist spacing='compact'>
35<listitem><para>Download (HTTP):
36<ulink url="&NASM-download-http;"/></para></listitem>
37<listitem><para>Download (FTP):
38<ulink url="&NASM-download-ftp;"/></para></listitem>
39<listitem><para>Download MD5 sum: &NASM-md5sum;</para></listitem>
40<listitem><para>Download size: &NASM-size;</para></listitem>
41<listitem><para>Estimated disk space required:
42&NASM-buildsize;</para></listitem>
43<listitem><para>Estimated build time:
44&NASM-time;</para></listitem></itemizedlist>
45</sect3>
46
47<sect3><title><application><acronym>NASM</acronym></application>
48dependencies</title>
49<sect4><title>Optional (for building documentation)</title>
50<para><xref linkend="tex"/>, and
51<xref linkend="espgs"/> or <xref linkend="gs"/></para>
52</sect4>
53</sect3>
54</sect2>
55
56<sect2>
57<title>Installation of
58<application><acronym>NASM</acronym></application></title>
59
60<para>Install <application><acronym>NASM</acronym></application> by running
61the following commands:</para>
62
63<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
64make &amp;&amp;
65make -C rdoff/doc &amp;&amp;
66make -C rdoff/doc html</command></userinput></screen>
67
68<para>To build the base <application><acronym>NASM</acronym></application>
69documentation, ensure you have Ghostscript installed and issue:</para>
70
71<screen><userinput><command>make doc</command></userinput></screen>
72
73<para>To build the <acronym>RDOFF</acronym> Postscript documentation,
74ensure you have <xref linkend="tex"/> installed and issue:</para>
75
76<screen><userinput><command>sed -i -e "s/dvips \$&lt;/&amp; -o rdoff.ps/" rdoff/doc/Makefile &amp;&amp;
77make -C rdoff/doc ps</command></userinput></screen>
78
79<para>To build the <acronym>RDOFF</acronym> <acronym>PDF</acronym>
80documentation, ensure you have Ghostscript installed and issue:</para>
81
82<screen><userinput><command>make -C rdoff/doc pdf</command></userinput></screen>
83
84<para>Now, as the root user:</para>
85
86<screen><userinput role='root'><command>make install &amp;&amp;
87make install_rdf &amp;&amp;
88install -v -m644 rdoff/doc/rdoff.info /usr/share/info &amp;&amp;
89install -v -m755 -d /usr/share/doc/nasm/html &amp;&amp;
90install -v -m644 rdoff/doc/v1-v2.txt /usr/share/doc/nasm &amp;&amp;
91cp -v -R rdoff/doc/rdoff /usr/share/doc/nasm/html</command></userinput></screen>
92
93<para>If you built the Ghostscript generated documentation, install it using
94the following commands as the root user:</para>
95
96<screen><userinput role='root'><command>make install_doc &amp;&amp;
97install -v -m644 rdoff/doc/rdoff.pdf /usr/share/doc/nasm</command></userinput></screen>
98
99<para>Lastly, if you built the <acronym>RDOFF</acronym> Postscript
100documentation, install it using the following command as the root user:</para>
101
102<screen><userinput role='root'><command>install -v -m644 rdoff/doc/rdoff.ps /usr/share/doc/nasm</command></userinput></screen>
103
104</sect2>
105
106<sect2>
107<title>Contents</title>
108
109<segmentedlist>
110<segtitle>Installed Programs</segtitle>
111<segtitle>Installed Libraries</segtitle>
112<segtitle>Installed Directories</segtitle>
113
114<seglistitem>
115<seg>nasm, ndisasm, ldrdf, rdf2bin, rdf2com, rdf2ihx, rdfdump, rdflib and
116rdx</seg>
117<seg>None</seg>
118<seg>/usr/share/doc/nasm</seg>
119</seglistitem>
120</segmentedlist>
121
122<variablelist>
123<bridgehead renderas="sect3">Short Descriptions</bridgehead>
124<?dbfo list-presentation="list"?>
125
126<varlistentry id="nasm-prog">
127<term><command>nasm</command></term>
128<listitem><para>is a portable 80x86 assembler.</para>
129<indexterm zone="NASM nasm-prog">
130<primary sortas="b-nasm">nasm</primary>
131</indexterm></listitem>
132</varlistentry>
133
134<varlistentry id="ndisasm">
135<term><command>ndisasm</command></term>
136<listitem><para>is an 80x86 binary file disassembler.</para>
137<indexterm zone="NASM ndisasm">
138<primary sortas="b-ndisasm">ndisasm</primary>
139</indexterm></listitem>
140</varlistentry>
141
142<varlistentry id="ldrdf">
143<term><command>ldrdf</command></term>
144<listitem><para>is an <acronym>RDOFF</acronym> linker.</para>
145<indexterm zone="NASM ldrdf">
146<primary sortas="b-ldrdf">ldrdf</primary>
147</indexterm></listitem>
148</varlistentry>
149
150<varlistentry id="rdfdump">
151<term><command>rdfdump</command></term>
152<listitem><para>dumps the contents of an <acronym>RDOFF</acronym> file.</para>
153<indexterm zone="NASM rdfdump">
154<primary sortas="b-rdfdump">rdfdump</primary>
155</indexterm></listitem>
156</varlistentry>
157
158<varlistentry id="rdflib">
159<term><command>rdflib</command></term>
160<listitem><para>is an <acronym>RDOFF</acronym> librarian.</para>
161<indexterm zone="NASM rdflib">
162<primary sortas="b-rdflib">rdflib</primary>
163</indexterm></listitem>
164</varlistentry>
165
166<varlistentry id="rdx">
167<term><command>rdx</command></term>
168<listitem><para>is used to load and execute an <acronym>RDOFF</acronym>
169module.</para>
170<indexterm zone="NASM rdx">
171<primary sortas="b-rdx">rdx</primary>
172</indexterm></listitem>
173</varlistentry>
174</variablelist>
175
176</sect2>
177
178</sect1>
Note: See TracBrowser for help on using the repository browser.