Author: andy
Date: 2011-12-01 10:39:08 -0700 (Thu, 01 Dec 2011)
New Revision: 9046

Added:
   trunk/BOOK/general/prog/yasm.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/prog/prog.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added yasm-1.2.0

Modified: trunk/BOOK/general/prog/prog.xml
===================================================================
--- trunk/BOOK/general/prog/prog.xml    2011-12-01 13:19:03 UTC (rev 9045)
+++ trunk/BOOK/general/prog/prog.xml    2011-12-01 17:39:08 UTC (rev 9046)
@@ -38,6 +38,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="junit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="librep.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="nasm.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="yasm.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="pdl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="perl-modules.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="php.xml"/>

Added: trunk/BOOK/general/prog/yasm.xml
===================================================================
--- trunk/BOOK/general/prog/yasm.xml                            (rev 0)
+++ trunk/BOOK/general/prog/yasm.xml    2011-12-01 17:39:08 UTC (rev 9046)
@@ -0,0 +1,145 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!-- Place this in the general.ent file
+  <!ENTITY yasm-version "">
+  -->
+
+  <!ENTITY yasm-download-http 
"http://www.tortall.net/projects/yasm/releases/yasm-&yasm-version;.tar.gz";>
+  <!ENTITY yasm-download-ftp  " ">
+  <!ENTITY yasm-md5sum        "4cfc0686cf5350dd1305c4d905eb55a6">
+  <!ENTITY yasm-size          "1.4 MB">
+  <!ENTITY yasm-buildsize     "41 MB">
+  <!ENTITY yasm-time          "0.2 SBU">
+]>
+
+<sect1 id="yasm" xreflabel="yasm-&yasm-version;">
+  <?dbhtml filename="yasm.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy: randy $</othername>
+    <date>$Date: 2007-04-04 20:42:53 +0100 (Wed, 04 Apr 2007) $</date>
+  </sect1info>
+
+  <title>yasm-&yasm-version;</title>
+
+  <indexterm zone="yasm">
+    <primary sortas="a-yasm">yasm</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to yasm</title>
+
+    <para><application>Yasm</application> is a complete rewrite of the
+    <xref linkend="NASM"/> assembler. It supports the x86 and AMD64 instruction
+    sets, accepts NASM and GAS assembler syntaxes and outputs binary, ELF32 and
+    ELF64 object formats.</para>
+
+    &lfs70_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Download (HTTP): <ulink url="&yasm-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&yasm-download-ftp;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &yasm-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &yasm-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &yasm-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &yasm-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <para condition="html" role="usernotes">User Notes:
+    <ulink url="&blfs-wiki;/yasm"/></para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of yasm</title>
+
+    <para>Install <application>yasm</application> by running the following
+    commands:</para>
+
+<screen><userinput>sed -i 's#) ytasm.*#)#' Makefile.in &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
+make</userinput></screen>
+
+    <para>To test the results, issue: <command>make check</command>.</para>
+
+    <para>Now, as the <systemitem class="username">root</systemitem> 
user:</para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para><command>sed -i 's#) ytasm.*#)#' Makefile.in</command>: This sed
+    prevents it compiling 2 programs (vsyasm and ytasm) that are only of use
+    on Microsoft Windows.</para>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Program</segtitle>
+      <segtitle>Installed Library</segtitle>
+      <segtitle>Installed Directory</segtitle>
+
+      <seglistitem>
+        <seg>yasm</seg>
+        <seg>libyasm.a</seg>
+        <seg>/usr/include/libyasm</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="yasm-prog">
+        <term><command>yasm</command></term>
+        <listitem>
+          <para>is a portable, retargetable assembler that supports the x86 and
+          AMD64 instruction sets, accepts NASM and GAS assembler syntaxes and
+          outputs binaries in ELF32 and ELF64 object formats.</para>
+          <indexterm zone="yasm yasm">
+            <primary sortas="b-yasm">yasm</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libyasm">
+        <term><filename class='libraryfile'>libyasm.a</filename></term>
+        <listitem>
+          <para>provides all of the core functionality of
+          <command>yasm</command>, for manipulating machine instructions and
+          object file constructs.</para>
+          <indexterm zone="yasm libyasm">
+            <primary sortas="c-libyasm">libyasm.a</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2011-12-01 13:19:03 UTC (rev 9045)
+++ trunk/BOOK/general.ent      2011-12-01 17:39:08 UTC (rev 9046)
@@ -332,6 +332,7 @@
 <!ENTITY junit-version                "4.8.1">
 <!ENTITY librep-version               "0.17">
 <!ENTITY NASM-version                 "2.09.10">
+<!ENTITY yasm-version                 "1.2.0">
 <!ENTITY pdl-version                  "2.4.2">
 <!ENTITY php-version                  "5.3.8">
 <!ENTITY python2-version              "2.7.2">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       2011-12-01 13:19:03 UTC 
(rev 9045)
+++ trunk/BOOK/introduction/welcome/changelog.xml       2011-12-01 17:39:08 UTC 
(rev 9046)
@@ -47,6 +47,9 @@
         <listitem>
           <para>[ken] - Updated dhcp to 4.2.3.</para>
         </listitem>
+        <listitem>
+          <para>[abenton] - Added yasm-1.2.0.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to