source: general/prog/yasm.xml@ a3e69b9b

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

Many tags.

Mostly Programming and Xorg sections and dependencies.

  • Property mode set to 100644
File size: 4.8 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[7d1f411c]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
[c6b192c]7 <!ENTITY yasm-download-http "https://www.tortall.net/projects/yasm/releases/yasm-&yasm-version;.tar.gz">
[7d1f411c]8 <!ENTITY yasm-download-ftp " ">
[42d6d3b]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)">
[7d1f411c]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
[de33b2a]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>
[7d1f411c]34
[b9874725]35 &lfs121_checked;
[7d1f411c]36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
[de33b2a]40 <para>
41 Download (HTTP): <ulink url="&yasm-download-http;"/>
42 </para>
[7d1f411c]43 </listitem>
44 <listitem>
[de33b2a]45 <para>
46 Download (FTP): <ulink url="&yasm-download-ftp;"/>
47 </para>
[7d1f411c]48 </listitem>
49 <listitem>
[de33b2a]50 <para>
51 Download MD5 sum: &yasm-md5sum;
52 </para>
[7d1f411c]53 </listitem>
54 <listitem>
[de33b2a]55 <para>
56 Download size: &yasm-size;
57 </para>
[7d1f411c]58 </listitem>
59 <listitem>
[de33b2a]60 <para>
61 Estimated disk space required: &yasm-buildsize;
62 </para>
[7d1f411c]63 </listitem>
64 <listitem>
[de33b2a]65 <para>
66 Estimated build time: &yasm-time;
67 </para>
[7d1f411c]68 </listitem>
69 </itemizedlist>
70
[fa3b9b3]71 <bridgehead renderas="sect3">yasm Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional">
[60ddbaf]75 <xref linkend="python2"/> and
[1fe05eb]76 <xref linkend="cython"/>
[fa3b9b3]77 </para>
78
[7d1f411c]79
80 </sect2>
81
82 <sect2 role="installation">
83 <title>Installation of yasm</title>
84
[de33b2a]85 <para>
86 Install <application>yasm</application> by running the following
87 commands:
88 </para>
[7d1f411c]89
90<screen><userinput>sed -i 's#) ytasm.*#)#' Makefile.in &amp;&amp;
[39187f1e]91
[7d1f411c]92./configure --prefix=/usr &amp;&amp;
93make</userinput></screen>
94
[de33b2a]95 <para>
[b481603]96 To test the results, issue: <command>make -j1 check</command>.
[de33b2a]97 </para>
[7d1f411c]98
[b481603]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
[de33b2a]103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
[7d1f411c]106
107<screen role="root"><userinput>make install</userinput></screen>
108
109 </sect2>
110
111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
[de33b2a]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>
[7d1f411c]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>
[de33b2a]145 <para>
146 is a portable, retargetable assembler that supports the x86 and
147 AMD64 instruction sets, accepts NASM and GAS assembler syntaxes and
[4c24eb0a]148 outputs binaries in ELF32 and ELF64 object formats
[de33b2a]149 </para>
[7d1f411c]150 <indexterm zone="yasm yasm">
151 <primary sortas="b-yasm">yasm</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
156 <varlistentry id="libyasm">
[4c24eb0a]157 <term><filename class="libraryfile">libyasm.a</filename></term>
[7d1f411c]158 <listitem>
[de33b2a]159 <para>
160 provides all of the core functionality of <command>yasm</command>,
[4c24eb0a]161 for manipulating machine instructions and object file constructs
[de33b2a]162 </para>
[7d1f411c]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.