source: general/prog/yasm.xml@ 87065037

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 87065037 was 1fe05eb, checked in by Pierre Labastie <pierre.labastie@…>, 20 months ago

A round of removal of eol trailing spaces

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