source: general/prog/yasm.xml

trunk
Last change on this file was b9874725, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Many tags.

Mostly Programming and Xorg sections and dependencies.

  • Property mode set to 100644
File size: 4.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 yasm-download-http "https://www.tortall.net/projects/yasm/releases/yasm-&yasm-version;.tar.gz">
8 <!ENTITY yasm-download-ftp " ">
9 <!ENTITY yasm-md5sum "fc9e586751ff789b34b1f21d572d96af">
10 <!ENTITY yasm-size "1.5 MB">
11 <!ENTITY yasm-buildsize "27 MB (additional 12 MB for the tests)">
12 <!ENTITY yasm-time "0.1 SBU (additional 0.1 SBU for the tests)">
13]>
14
15<sect1 id="yasm" xreflabel="yasm-&yasm-version;">
16 <?dbhtml filename="yasm.html"?>
17
18
19 <title>yasm-&yasm-version;</title>
20
21 <indexterm zone="yasm">
22 <primary sortas="a-yasm">yasm</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to yasm</title>
27
28 <para>
29 <application>Yasm</application> is a complete rewrite of the
30 <xref linkend="nasm"/> assembler. It supports the x86 and AMD64
31 instruction sets, accepts NASM and GAS assembler syntaxes and outputs
32 binary, ELF32 and ELF64 object formats.
33 </para>
34
35 &lfs121_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&yasm-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&yasm-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &yasm-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &yasm-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &yasm-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &yasm-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">yasm Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional">
75 <xref linkend="python2"/> and
76 <xref linkend="cython"/>
77 </para>
78
79
80 </sect2>
81
82 <sect2 role="installation">
83 <title>Installation of yasm</title>
84
85 <para>
86 Install <application>yasm</application> by running the following
87 commands:
88 </para>
89
90<screen><userinput>sed -i 's#) ytasm.*#)#' Makefile.in &amp;&amp;
91
92./configure --prefix=/usr &amp;&amp;
93make</userinput></screen>
94
95 <para>
96 To test the results, issue: <command>make -j1 check</command>.
97 </para>
98
99<!-- The tests seem to intermittently fail on nasmpp_test.sh and rawpp_test.sh.
100 When run at -j1, all of the tests pass, and those tests randomly fail if
101 they are run in parallel. -renodr -->
102
103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
106
107<screen role="root"><userinput>make install</userinput></screen>
108
109 </sect2>
110
111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
114 <para>
115 <command>sed -i 's#) ytasm.*#)#' Makefile.in</command>: This sed
116 prevents it compiling 2 programs (vsyasm and ytasm) that are only of use
117 on Microsoft Windows.
118 </para>
119
120 </sect2>
121
122 <sect2 role="content">
123 <title>Contents</title>
124
125 <segmentedlist>
126 <segtitle>Installed Program</segtitle>
127 <segtitle>Installed Library</segtitle>
128 <segtitle>Installed Directory</segtitle>
129
130 <seglistitem>
131 <seg>yasm</seg>
132 <seg>libyasm.a</seg>
133 <seg>/usr/include/libyasm</seg>
134 </seglistitem>
135 </segmentedlist>
136
137 <variablelist>
138 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
139 <?dbfo list-presentation="list"?>
140 <?dbhtml list-presentation="table"?>
141
142 <varlistentry id="yasm-prog">
143 <term><command>yasm</command></term>
144 <listitem>
145 <para>
146 is a portable, retargetable assembler that supports the x86 and
147 AMD64 instruction sets, accepts NASM and GAS assembler syntaxes and
148 outputs binaries in ELF32 and ELF64 object formats
149 </para>
150 <indexterm zone="yasm yasm">
151 <primary sortas="b-yasm">yasm</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
156 <varlistentry id="libyasm">
157 <term><filename class="libraryfile">libyasm.a</filename></term>
158 <listitem>
159 <para>
160 provides all of the core functionality of <command>yasm</command>,
161 for manipulating machine instructions and object file constructs
162 </para>
163 <indexterm zone="yasm libyasm">
164 <primary sortas="c-libyasm">libyasm.a</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 </variablelist>
170
171 </sect2>
172
173</sect1>
Note: See TracBrowser for help on using the repository browser.