source: general/prog/nasm.xml@ 636e16f7

10.0 10.1 11.0 11.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 636e16f7 was 636e16f7, checked in by Pierre Labastie <pieere@…>, 4 years ago

Fix building Apache-Maven with Java 10
Remove duplicate fix in NASM

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

  • Property mode set to 100644
File size: 4.9 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 "d5ca2ad7121ccbae69dd606b1038532c">
10 <!ENTITY nasm-size "788 KB">
11 <!ENTITY nasm-buildsize "27 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><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 &lfs82_checked;
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>Optional documentation: <ulink
64 url="http://www.nasm.us/pub/nasm/releasebuilds/&nasm-version;/nasm-&nasm-version;-xdoc.tar.xz"/></para>
65 </listitem>
66 </itemizedlist>
67
68 <para condition="html" role="usernotes">User Notes:
69 <ulink url="&blfs-wiki;/nasm"/></para>
70
71 </sect2>
72
73 <sect2 role="installation">
74 <title>Installation of NASM</title>
75
76 <para>If you downloaded the optional documentation, put it into the
77 source tree:</para>
78
79<screen><userinput>tar -xf ../nasm-&nasm-version;-xdoc.tar.xz --strip-components=1</userinput></screen>
80
81 <para>
82 Apply some upstream fixes, which are needed for compiling with gcc-8.1:
83 </para>
84
85<screen><userinput>sed -e '/seg_init/d' \
86 -e 's/pure_func seg_alloc/seg_alloc/' \
87 -i include/nasmlib.h</userinput></screen>
88
89 <para>Install <application>NASM</application> by running
90 the following commands:</para>
91
92<screen><userinput>./configure --prefix=/usr &amp;&amp;
93make</userinput></screen>
94
95 <para>This package does not come with a test suite.</para>
96
97 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
98
99<!-- dev note: make INSTALLROOT=<DESTDIR> install -->
100
101<screen role="root"><userinput>make install</userinput></screen>
102
103 <para>If you downloaded the optional documentation, install it with the
104 following instructions as the <systemitem
105 class="username">root</systemitem> user:</para>
106
107<screen role="root"><userinput>install -m755 -d /usr/share/doc/nasm-&nasm-version;/html &amp;&amp;
108cp -v doc/html/*.html /usr/share/doc/nasm-&nasm-version;/html &amp;&amp;
109cp -v doc/*.{txt,ps,pdf} /usr/share/doc/nasm-&nasm-version;</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="content">
114 <title>Contents</title>
115
116 <segmentedlist>
117 <segtitle>Installed Programs</segtitle>
118 <segtitle>Installed Libraries</segtitle>
119 <segtitle>Installed Directory</segtitle>
120
121 <seglistitem>
122 <seg>nasm and ndisasm</seg>
123 <seg>None</seg>
124 <seg>/usr/share/doc/nasm-&nasm-version;</seg>
125 </seglistitem>
126 </segmentedlist>
127
128 <variablelist>
129 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
130 <?dbfo list-presentation="list"?>
131 <?dbhtml list-presentation="table"?>
132
133 <varlistentry id="nasm-prog">
134 <term><command>nasm</command></term>
135 <listitem>
136 <para>is a portable 80x86 assembler.</para>
137 <indexterm zone="nasm nasm-prog">
138 <primary sortas="b-nasm">nasm</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="ndisasm">
144 <term><command>ndisasm</command></term>
145 <listitem>
146 <para>is an 80x86 binary file disassembler.</para>
147 <indexterm zone="nasm ndisasm">
148 <primary sortas="b-ndisasm">ndisasm</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 </variablelist>
154
155 </sect2>
156
157</sect1>
Note: See TracBrowser for help on using the repository browser.