source: general/prog/nasm.xml@ d107c86

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 d107c86 was 87053af, checked in by Igor Živković <igor@…>, 19 years ago

Added a test suite note to NASM.

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

  • Property mode set to 100644
File size: 5.9 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[52d29f7]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 " ">
[20f5e71a]9<!ENTITY NASM-md5sum "2032ad44c7359f7a9a166a40a633e772">
10<!ENTITY NASM-size "543 KB">
[9519b52]11<!ENTITY NASM-buildsize "17.3 MB (includes building and installing all docs)">
12<!ENTITY NASM-time "0.20 SBU">
[52d29f7]13]>
14
[284d8e17]15<sect1 id="NASM" xreflabel="NASM-&NASM-version;">
[a0f03b0]16<sect1info>
[5cd0959d]17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
[a0f03b0]19</sect1info>
[19aa75a]20<?dbhtml filename="NASM.html" ?>
[284d8e17]21<title>NASM-&NASM-version;</title>
[3b764a4e]22<indexterm zone="NASM">
23<primary sortas="a-NASM">NASM</primary></indexterm>
[284d8e17]24
[52d29f7]25<sect2>
[bd23186f]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
[52d29f7]31disassembler as well.</para>
[bd23186f]32
[52d29f7]33<sect3><title>Package information</title>
34<itemizedlist spacing='compact'>
[bd23186f]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>
[23460a6]39<listitem><para>Download MD5 sum: &NASM-md5sum;</para></listitem>
[52d29f7]40<listitem><para>Download size: &NASM-size;</para></listitem>
[bd23186f]41<listitem><para>Estimated disk space required:
42&NASM-buildsize;</para></listitem>
43<listitem><para>Estimated build time:
44&NASM-time;</para></listitem></itemizedlist>
[52d29f7]45</sect3>
[bd23186f]46
[9519b52]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>
[52d29f7]54</sect2>
55
56<sect2>
[bd23186f]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
[52d29f7]63<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
[9519b52]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>
[bd23186f]83
[87053af]84<para>This package does not come with a test suite.</para>
85
[3b764a4e]86<para>Now, as the root user:</para>
[bd23186f]87
[9519b52]88<screen><userinput role='root'><command>make install &amp;&amp;
89make install_rdf &amp;&amp;
90install -v -m644 rdoff/doc/rdoff.info /usr/share/info &amp;&amp;
91install -v -m755 -d /usr/share/doc/nasm/html &amp;&amp;
92install -v -m644 rdoff/doc/v1-v2.txt /usr/share/doc/nasm &amp;&amp;
93cp -v -R rdoff/doc/rdoff /usr/share/doc/nasm/html</command></userinput></screen>
94
95<para>If you built the Ghostscript generated documentation, install it using
96the following commands as the root user:</para>
97
98<screen><userinput role='root'><command>make install_doc &amp;&amp;
99install -v -m644 rdoff/doc/rdoff.pdf /usr/share/doc/nasm</command></userinput></screen>
100
101<para>Lastly, if you built the <acronym>RDOFF</acronym> Postscript
102documentation, install it using the following command as the root user:</para>
103
104<screen><userinput role='root'><command>install -v -m644 rdoff/doc/rdoff.ps /usr/share/doc/nasm</command></userinput></screen>
[bd23186f]105
[52d29f7]106</sect2>
[bd23186f]107
[3b764a4e]108<sect2>
109<title>Contents</title>
[bd23186f]110
[3b764a4e]111<segmentedlist>
112<segtitle>Installed Programs</segtitle>
113<segtitle>Installed Libraries</segtitle>
114<segtitle>Installed Directories</segtitle>
115
116<seglistitem>
[9519b52]117<seg>nasm, ndisasm, ldrdf, rdf2bin, rdf2com, rdf2ihx, rdfdump, rdflib and
118rdx</seg>
[3b764a4e]119<seg>None</seg>
[9519b52]120<seg>/usr/share/doc/nasm</seg>
[3b764a4e]121</seglistitem>
122</segmentedlist>
123
124<variablelist>
125<bridgehead renderas="sect3">Short Descriptions</bridgehead>
126<?dbfo list-presentation="list"?>
127
128<varlistentry id="nasm-prog">
129<term><command>nasm</command></term>
130<listitem><para>is a portable 80x86 assembler.</para>
131<indexterm zone="NASM nasm-prog">
132<primary sortas="b-nasm">nasm</primary>
133</indexterm></listitem>
134</varlistentry>
135
136<varlistentry id="ndisasm">
137<term><command>ndisasm</command></term>
138<listitem><para>is an 80x86 binary file disassembler.</para>
139<indexterm zone="NASM ndisasm">
140<primary sortas="b-ndisasm">ndisasm</primary>
141</indexterm></listitem>
142</varlistentry>
[9519b52]143
144<varlistentry id="ldrdf">
145<term><command>ldrdf</command></term>
146<listitem><para>is an <acronym>RDOFF</acronym> linker.</para>
147<indexterm zone="NASM ldrdf">
148<primary sortas="b-ldrdf">ldrdf</primary>
149</indexterm></listitem>
150</varlistentry>
151
152<varlistentry id="rdfdump">
153<term><command>rdfdump</command></term>
154<listitem><para>dumps the contents of an <acronym>RDOFF</acronym> file.</para>
155<indexterm zone="NASM rdfdump">
156<primary sortas="b-rdfdump">rdfdump</primary>
157</indexterm></listitem>
158</varlistentry>
159
160<varlistentry id="rdflib">
161<term><command>rdflib</command></term>
162<listitem><para>is an <acronym>RDOFF</acronym> librarian.</para>
163<indexterm zone="NASM rdflib">
164<primary sortas="b-rdflib">rdflib</primary>
165</indexterm></listitem>
166</varlistentry>
167
168<varlistentry id="rdx">
169<term><command>rdx</command></term>
170<listitem><para>is used to load and execute an <acronym>RDOFF</acronym>
171module.</para>
172<indexterm zone="NASM rdx">
173<primary sortas="b-rdx">rdx</primary>
174</indexterm></listitem>
175</varlistentry>
[3b764a4e]176</variablelist>
[bd23186f]177
[52d29f7]178</sect2>
[284d8e17]179
180</sect1>
Note: See TracBrowser for help on using the repository browser.