mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
4c77a94985
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9604 af4574ff-66df-0310-9fd7-8a98e5e911e0
146 lines
4.4 KiB
XML
146 lines
4.4 KiB
XML
<?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$</othername>
|
|
<date>$Date$</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>
|
|
|
|
&lfs71_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 &&
|
|
./configure --prefix=/usr &&
|
|
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>
|