source: general/prog/nasm.xml@ de33b2a

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since de33b2a was de33b2a, checked in by Pierre Labastie <pieere@…>, 21 months ago

Format general/prog

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

  • Property mode set to 100644
File size: 5.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.xz">
8 <!ENTITY nasm-download-ftp " ">
9 <!ENTITY nasm-md5sum "6390bd67b07ff1df9fe628b6929c0353">
10 <!ENTITY nasm-size "812 KB">
11 <!ENTITY nasm-buildsize "32 MB" >
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 </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>
33 <application>NASM</application> (Netwide Assembler) is an 80x86
34 assembler designed for portability and modularity. It includes a
35 disassembler as well.
36 </para>
37
38 &lfs91_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&nasm-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&nasm-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &nasm-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &nasm-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &nasm-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &nasm-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact">
76 <listitem>
77 <para>
78 Optional documentation: <ulink
79 url="http://www.nasm.us/pub/nasm/releasebuilds/&nasm-version;/nasm-&nasm-version;-xdoc.tar.xz"/>
80 </para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">NASM Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Optional (for generating documentation):</bridgehead>
87 <para role="optional">
88 <xref linkend="asciidoc"/> and
89 <xref linkend="xmlto"/>
90 </para>
91
92 <para condition="html" role="usernotes">User Notes:
93 <ulink url="&blfs-wiki;/nasm"/></para>
94
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of NASM</title>
99
100 <para>
101 If you downloaded the optional documentation, put it into the
102 source tree:
103 </para>
104
105<screen><userinput>tar -xf ../nasm-&nasm-version;-xdoc.tar.xz --strip-components=1</userinput></screen>
106
107 <para>
108 Install <application>NASM</application> by running
109 the following commands:
110 </para>
111
112<screen><userinput>./configure --prefix=/usr &amp;&amp;
113make</userinput></screen>
114
115 <para>
116 This package does not come with a test suite.
117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<!-- dev note: make INSTALLROOT=<DESTDIR> install -->
124
125<screen role="root"><userinput>make install</userinput></screen>
126
127 <para>
128 If you downloaded the optional documentation, install it with the
129 following instructions as the <systemitem
130 class="username">root</systemitem> user:
131 </para>
132
133<screen role="root"><userinput>install -m755 -d /usr/share/doc/nasm-&nasm-version;/html &amp;&amp;
134cp -v doc/html/*.html /usr/share/doc/nasm-&nasm-version;/html &amp;&amp;
135cp -v doc/*.{txt,ps,pdf} /usr/share/doc/nasm-&nasm-version;</userinput></screen>
136
137 </sect2>
138
139 <sect2 role="content">
140 <title>Contents</title>
141
142 <segmentedlist>
143 <segtitle>Installed Programs</segtitle>
144 <segtitle>Installed Libraries</segtitle>
145 <segtitle>Installed Directory</segtitle>
146
147 <seglistitem>
148 <seg>nasm and ndisasm</seg>
149 <seg>None</seg>
150 <seg>/usr/share/doc/nasm-&nasm-version;</seg>
151 </seglistitem>
152 </segmentedlist>
153
154 <variablelist>
155 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
156 <?dbfo list-presentation="list"?>
157 <?dbhtml list-presentation="table"?>
158
159 <varlistentry id="nasm-prog">
160 <term><command>nasm</command></term>
161 <listitem>
162 <para>
163 is a portable 80x86 assembler.
164 </para>
165 <indexterm zone="nasm nasm-prog">
166 <primary sortas="b-nasm">nasm</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 <varlistentry id="ndisasm">
172 <term><command>ndisasm</command></term>
173 <listitem>
174 <para>
175 is an 80x86 binary file disassembler.
176 </para>
177 <indexterm zone="nasm ndisasm">
178 <primary sortas="b-ndisasm">ndisasm</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 </variablelist>
184
185 </sect2>
186
187</sect1>
Note: See TracBrowser for help on using the repository browser.