source: general/prog/yasm.xml@ b1c21e0f

10.0 10.1 11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since b1c21e0f was de33b2a, checked in by Pierre Labastie <pieere@…>, 4 years ago

Format general/prog

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

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