Changeset b3bb56b


Ignore:
Timestamp:
06/13/2012 12:23:48 PM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
2216c969
Parents:
9662c41
Message:

gc-7.2

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/libatomic_ops.xml

    r9662c41 rb3bb56b  
    8080sed -i 's#b_L#b_LTL#;s#\.a#.la#g;s#_a_#_la_#' src/Makefile.am &amp;&amp;
    8181sed -i 's#\.a#.so#g;s#\.\./src/#../src/.libs/#g' tests/Makefile.am &amp;&amp;
     82sed -i 's#pkgdata#doc#' doc/Makefile.am &amp;&amp;
    8283autoreconf -i &amp;&amp;
    8384./configure --prefix=/usr --disable-static \
     
    99100    <para>
    100101      <command>sed -i 's#AC_PROG_RANLIB ...</command>: These seds massage the
    101       autotool files so that a shared library is built and the tests pass.
     102      autotool files so that a shared library is built, the tests pass and the
     103      docs are installed where we want.
    102104    </para>
    103105
  • general/prog/gc.xml

    r9662c41 rb3bb56b  
    55  %general-entities;
    66
    7   <!ENTITY gc-download-http "http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-&gc-version;.tar.gz">
     7  <!ENTITY gc-download-http
     8    "http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-&gc-version;.tar.gz">
    89  <!ENTITY gc-download-ftp  "&gentoo-ftp-repo;/gc-&gc-version;.tar.gz">
    9   <!ENTITY gc-md5sum        "2ff9924c7249ef7f736ecfe6f08f3f9b">
    10   <!ENTITY gc-size          "1 MB">
     10  <!ENTITY gc-md5sum        "d17aecedef3d73e75387fb63558fa4eb">
     11  <!ENTITY gc-size          "1.3 MB">
    1112  <!ENTITY gc-buildsize     "13 MB">
    1213  <!ENTITY gc-time          "0.2 SBU">
     
    3031    <title>Introduction to GC</title>
    3132
    32     <para>The <application>GC</application> package contains the
    33     Boehm-Demers-Weiser conservative garbage collector, which can be used as a
    34     garbage collecting replacement for the C malloc function or C++ new
    35     operator. It allows you to allocate memory basically as you normally would,
    36     without explicitly deallocating memory that is no longer useful. The
    37     collector automatically recycles memory when it determines that it can no
    38     longer be otherwise accessed. The collector is also used by a number of
    39     programming language implementations that either use C as intermediate
    40     code, want to facilitate easier interoperation with C libraries, or just
    41     prefer the simple collector interface. Alternatively, the garbage collector
    42     may be used as a leak detector for C or C++ programs, though that is not
    43     its primary goal.</para>
     33    <para>
     34      The <application>GC</application> package contains the Boehm-Demers-Weiser
     35      conservative garbage collector, which can be used as a garbage collecting
     36      replacement for the C malloc function or C++ new operator. It allows you
     37      to allocate memory basically as you normally would, without explicitly
     38      deallocating memory that is no longer useful. The collector automatically
     39      recycles memory when it determines that it can no longer be otherwise
     40      accessed. The collector is also used by a number of programming language
     41      implementations that either use C as intermediate code, want to facilitate
     42      easier interoperation with C libraries, or just prefer the simple
     43      collector interface. Alternatively, the garbage collector may be used as a
     44      leak detector for C or C++ programs, though that is not its primary goal.
     45    </para>
    4446
    45     &lfs70_checked;
     47    &lfs71_checked;
    4648
    4749    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    6769    </itemizedlist>
    6870
    69     <para condition="html" role="usernotes">User Notes:
    70     <ulink url="&blfs-wiki;/gc"/></para>
     71    <bridgehead renderas="sect4">Optional</bridgehead>
     72    <para role="optional">
     73      <xref linkend="libatomic_ops"/> (Gc contains a copy of
     74      Libatomic_ops-&gc-version; which it will compile and statically link if
     75      configure doesn't find Libatomic_ops installed on your system).
     76    </para>
    7177
     78    <para condition="html" role="usernotes">
     79      User Notes: <ulink url="&blfs-wiki;/gc"/>
     80    </para>
    7281  </sect2>
    7382
     
    7584    <title>Installation of GC</title>
    7685
    77     <para>Install <application>GC</application> by running the following
    78     commands:</para>
     86    <para>
     87      Install <application>GC</application> by running the following commands:
     88    </para>
    7989
    80 <screen><userinput>./configure --prefix=/usr            \
    81             --datadir=/usr/share/doc \
    82             --enable-cplusplus &amp;&amp;
     90<screen><userinput>sed -i 's#pkgdata#doc#' doc/doc.am &amp;&amp; autoreconf  &amp;&amp;
     91./configure --prefix=/usr --enable-cplusplus      \
     92  --disable-static --docdir=/usr/share/doc/gc-&gc-version; &amp;&amp;
    8393make</userinput></screen>
    8494
    8595    <para>To test the results, issue: <command>make check</command>.</para>
    8696
    87     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     97    <para>
     98      Now, as the <systemitem class="username">root</systemitem> user:
     99    </para>
    88100
    89101<screen role="root"><userinput>make install &amp;&amp;
    90102install -v -m644 doc/gc.man /usr/share/man/man3/gc_malloc.3 &amp;&amp;
    91 ln -v -s gc_malloc.3 /usr/share/man/man3/gc.3 </userinput></screen>
    92 
     103ln -sfv gc_malloc.3 /usr/share/man/man3/gc.3 </userinput></screen>
    93104  </sect2>
    94105
     
    96107    <title>Command Explanations</title>
    97108
    98     <para><parameter>--datadir=/usr/share/doc</parameter>: This parameter
    99     changes the installation path of the documentation to
    100     <filename class='directory'>/usr/share/doc/gc</filename> instead of
    101     <filename class='directory'>/usr/share/gc</filename>.</para>
     109    <para>
     110      <command>sed -i 's#pkgdata#doc#' doc/doc.am</command>,
     111      <command>autoreconf</command> and
     112      <option>--docdir=/usr/share/doc/gc-&gc-version;</option>: These commands
     113      allow us to install the documentation in a versioned directory.
     114    </para>
    102115
    103     <para><parameter>--enable-cplusplus</parameter>: This parameter forces
    104     the building and installation of the C++ library along with the standard
    105     C library.</para>
     116    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     117      href="../../xincludes/static-libraries.xml"/>
    106118
     119    <para>
     120      <parameter>--enable-cplusplus</parameter>: This parameter enables the
     121      building and installing the C++ library along with the standard C library.
     122    </para>
    107123  </sect2>
    108124
     
    111127
    112128    <segmentedlist>
    113       <segtitle>Installed Programs</segtitle>
    114129      <segtitle>Installed Libraries</segtitle>
    115130      <segtitle>Installed Directories</segtitle>
    116131
    117132      <seglistitem>
    118         <seg>None</seg>
    119         <seg>libcord.{a,so}, libgc.{so,a}, and libgccpp.{so,a}</seg>
    120         <seg>/usr/include/gc and /usr/share/doc/gc</seg>
     133        <seg>
     134          libcord.so,
     135          libgc.so and
     136          libgccpp.so
     137        </seg>
     138        <seg>
     139          /usr/include/gc and
     140          /usr/share/doc/gc
     141        </seg>
    121142      </seglistitem>
    122143    </segmentedlist>
     
    128149
    129150      <varlistentry id="libgc">
    130         <term><filename class='libraryfile'>libgc.{so,a}</filename></term>
     151        <term><filename class='libraryfile'>libgc.so</filename></term>
    131152        <listitem>
    132           <para>contains a C interface to the conservative garbage collector,
    133           primarily designed to replace the C malloc function.</para>
     153          <para>
     154            contains a C interface to the conservative garbage collector,
     155            primarily designed to replace the C malloc function.
     156          </para>
    134157          <indexterm zone="gc libgc">
    135             <primary sortas="c-libgc">libgc.{so,a}</primary>
     158            <primary sortas="c-libgc">libgc.so</primary>
    136159          </indexterm>
    137160        </listitem>
     
    139162
    140163      <varlistentry id="libgccpp">
    141         <term><filename class='libraryfile'>libgccpp.{so,a}</filename></term>
     164        <term><filename class='libraryfile'>libgccpp.so</filename></term>
    142165        <listitem>
    143           <para>contains a C++ interface to the conservative garbage
    144           collector.</para>
     166          <para>
     167            contains a C++ interface to the conservative garbage collector.
     168          </para>
    145169          <indexterm zone="gc libgccpp">
    146             <primary sortas="c-libgccpp">libgccpp.{so,a}</primary>
     170            <primary sortas="c-libgccpp">libgccpp.so</primary>
    147171          </indexterm>
    148172        </listitem>
    149173      </varlistentry>
    150 
    151174    </variablelist>
    152 
    153175  </sect2>
    154 
    155176</sect1>
  • introduction/welcome/changelog.xml

    r9662c41 rb3bb56b  
    4848          <para>[abenton] - Updated Libatomic_Ops to 7.2.</para>
    4949        </listitem>
     50        <listitem>
     51          <para>[abenton] - Updated Gc to 7.2.</para>
     52        </listitem>
    5053      </itemizedlist>
    5154    </listitem>
Note: See TracChangeset for help on using the changeset viewer.