source: general/prog/yasm.xml@ 49ae403f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.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 49ae403f was 38489aa0, checked in by Pierre Labastie <pieere@…>, 5 years ago

Tags

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

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