source: general/prog/yasm.xml@ 2314cd7

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 2314cd7 was 2314cd7, checked in by Thomas Trepl <thomas@…>, 10 months ago

Some tags

  • Property mode set to 100644
File size: 4.6 KB
RevLine 
[7d1f411c]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
[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
[2314cd7]35 &lfs120_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>
96 To test the results, issue: <command>make check</command>.
97 </para>
[7d1f411c]98
[de33b2a]99 <para>
100 Now, as the <systemitem class="username">root</systemitem> user:
101 </para>
[7d1f411c]102
103<screen role="root"><userinput>make install</userinput></screen>
104
105 </sect2>
106
107 <sect2 role="commands">
108 <title>Command Explanations</title>
109
[de33b2a]110 <para>
111 <command>sed -i 's#) ytasm.*#)#' Makefile.in</command>: This sed
112 prevents it compiling 2 programs (vsyasm and ytasm) that are only of use
113 on Microsoft Windows.
114 </para>
[7d1f411c]115
116 </sect2>
117
118 <sect2 role="content">
119 <title>Contents</title>
120
121 <segmentedlist>
122 <segtitle>Installed Program</segtitle>
123 <segtitle>Installed Library</segtitle>
124 <segtitle>Installed Directory</segtitle>
125
126 <seglistitem>
127 <seg>yasm</seg>
128 <seg>libyasm.a</seg>
129 <seg>/usr/include/libyasm</seg>
130 </seglistitem>
131 </segmentedlist>
132
133 <variablelist>
134 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
135 <?dbfo list-presentation="list"?>
136 <?dbhtml list-presentation="table"?>
137
138 <varlistentry id="yasm-prog">
139 <term><command>yasm</command></term>
140 <listitem>
[de33b2a]141 <para>
142 is a portable, retargetable assembler that supports the x86 and
143 AMD64 instruction sets, accepts NASM and GAS assembler syntaxes and
[4c24eb0a]144 outputs binaries in ELF32 and ELF64 object formats
[de33b2a]145 </para>
[7d1f411c]146 <indexterm zone="yasm yasm">
147 <primary sortas="b-yasm">yasm</primary>
148 </indexterm>
149 </listitem>
150 </varlistentry>
151
152 <varlistentry id="libyasm">
[4c24eb0a]153 <term><filename class="libraryfile">libyasm.a</filename></term>
[7d1f411c]154 <listitem>
[de33b2a]155 <para>
156 provides all of the core functionality of <command>yasm</command>,
[4c24eb0a]157 for manipulating machine instructions and object file constructs
[de33b2a]158 </para>
[7d1f411c]159 <indexterm zone="yasm libyasm">
160 <primary sortas="c-libyasm">libyasm.a</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 </variablelist>
166
167 </sect2>
168
169</sect1>
Note: See TracBrowser for help on using the repository browser.