Ignore:
Timestamp:
03/12/2020 09:24:44 AM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
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
Children:
6ea9f5b3
Parents:
5ab87cfa
Message:

Format general/prog

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/yasm.xml

    r5ab87cfa rde33b2a  
    3030    <title>Introduction to yasm</title>
    3131
    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>
     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>
    3638
    3739    &lfs91_checked;
     
    4042    <itemizedlist spacing="compact">
    4143      <listitem>
    42         <para>Download (HTTP): <ulink url="&yasm-download-http;"/></para>
     44        <para>
     45          Download (HTTP): <ulink url="&yasm-download-http;"/>
     46        </para>
    4347      </listitem>
    4448      <listitem>
    45         <para>Download (FTP): <ulink url="&yasm-download-ftp;"/></para>
     49        <para>
     50          Download (FTP): <ulink url="&yasm-download-ftp;"/>
     51        </para>
    4652      </listitem>
    4753      <listitem>
    48         <para>Download MD5 sum: &yasm-md5sum;</para>
     54        <para>
     55          Download MD5 sum: &yasm-md5sum;
     56        </para>
    4957      </listitem>
    5058      <listitem>
    51         <para>Download size: &yasm-size;</para>
     59        <para>
     60          Download size: &yasm-size;
     61        </para>
    5262      </listitem>
    5363      <listitem>
    54         <para>Estimated disk space required: &yasm-buildsize;</para>
     64        <para>
     65          Estimated disk space required: &yasm-buildsize;
     66        </para>
    5567      </listitem>
    5668      <listitem>
    57         <para>Estimated build time: &yasm-time;</para>
     69        <para>
     70          Estimated build time: &yasm-time;
     71        </para>
    5872      </listitem>
    5973    </itemizedlist>
     
    7589    <title>Installation of yasm</title>
    7690
    77     <para>Install <application>yasm</application> by running the following
    78     commands:</para>
     91    <para>
     92      Install <application>yasm</application> by running the following
     93      commands:
     94    </para>
    7995
    8096<screen><userinput>sed -i 's#) ytasm.*#)#' Makefile.in &amp;&amp;
     
    8399make</userinput></screen>
    84100
    85     <para>To test the results, issue: <command>make check</command>.</para>
     101    <para>
     102      To test the results, issue: <command>make check</command>.
     103    </para>
    86104
    87     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     105    <para>
     106      Now, as the <systemitem class="username">root</systemitem> user:
     107    </para>
    88108
    89109<screen role="root"><userinput>make install</userinput></screen>
     
    94114    <title>Command Explanations</title>
    95115
    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>
     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>
    99121
    100122  </sect2>
     
    123145        <term><command>yasm</command></term>
    124146        <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>
     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>
    128152          <indexterm zone="yasm yasm">
    129153            <primary sortas="b-yasm">yasm</primary>
     
    135159        <term><filename class='libraryfile'>libyasm.a</filename></term>
    136160        <listitem>
    137           <para>provides all of the core functionality of
    138           <command>yasm</command>, for manipulating machine instructions and
    139           object file constructs.</para>
     161          <para>
     162            provides all of the core functionality of <command>yasm</command>,
     163            for manipulating machine instructions and object file constructs.
     164          </para>
    140165          <indexterm zone="yasm libyasm">
    141166            <primary sortas="c-libyasm">libyasm.a</primary>
Note: See TracChangeset for help on using the changeset viewer.