Changeset b3bb56b
- Timestamp:
- 06/13/2012 12:23:48 PM (12 years ago)
- 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
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/libatomic_ops.xml
r9662c41 rb3bb56b 80 80 sed -i 's#b_L#b_LTL#;s#\.a#.la#g;s#_a_#_la_#' src/Makefile.am && 81 81 sed -i 's#\.a#.so#g;s#\.\./src/#../src/.libs/#g' tests/Makefile.am && 82 sed -i 's#pkgdata#doc#' doc/Makefile.am && 82 83 autoreconf -i && 83 84 ./configure --prefix=/usr --disable-static \ … … 99 100 <para> 100 101 <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. 102 104 </para> 103 105 -
general/prog/gc.xml
r9662c41 rb3bb56b 5 5 %general-entities; 6 6 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"> 8 9 <!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"> 11 12 <!ENTITY gc-buildsize "13 MB"> 12 13 <!ENTITY gc-time "0.2 SBU"> … … 30 31 <title>Introduction to GC</title> 31 32 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> 44 46 45 &lfs7 0_checked;47 &lfs71_checked; 46 48 47 49 <bridgehead renderas="sect3">Package Information</bridgehead> … … 67 69 </itemizedlist> 68 70 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> 71 77 78 <para condition="html" role="usernotes"> 79 User Notes: <ulink url="&blfs-wiki;/gc"/> 80 </para> 72 81 </sect2> 73 82 … … 75 84 <title>Installation of GC</title> 76 85 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> 79 89 80 <screen><userinput> ./configure --prefix=/usr \81 --datadir=/usr/share/doc\82 --enable-cplusplus&&90 <screen><userinput>sed -i 's#pkgdata#doc#' doc/doc.am && autoreconf && 91 ./configure --prefix=/usr --enable-cplusplus \ 92 --disable-static --docdir=/usr/share/doc/gc-&gc-version; && 83 93 make</userinput></screen> 84 94 85 95 <para>To test the results, issue: <command>make check</command>.</para> 86 96 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> 88 100 89 101 <screen role="root"><userinput>make install && 90 102 install -v -m644 doc/gc.man /usr/share/man/man3/gc_malloc.3 && 91 ln -v -s gc_malloc.3 /usr/share/man/man3/gc.3 </userinput></screen> 92 103 ln -sfv gc_malloc.3 /usr/share/man/man3/gc.3 </userinput></screen> 93 104 </sect2> 94 105 … … 96 107 <title>Command Explanations</title> 97 108 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> 102 115 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"/> 106 118 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> 107 123 </sect2> 108 124 … … 111 127 112 128 <segmentedlist> 113 <segtitle>Installed Programs</segtitle>114 129 <segtitle>Installed Libraries</segtitle> 115 130 <segtitle>Installed Directories</segtitle> 116 131 117 132 <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> 121 142 </seglistitem> 122 143 </segmentedlist> … … 128 149 129 150 <varlistentry id="libgc"> 130 <term><filename class='libraryfile'>libgc. {so,a}</filename></term>151 <term><filename class='libraryfile'>libgc.so</filename></term> 131 152 <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> 134 157 <indexterm zone="gc libgc"> 135 <primary sortas="c-libgc">libgc. {so,a}</primary>158 <primary sortas="c-libgc">libgc.so</primary> 136 159 </indexterm> 137 160 </listitem> … … 139 162 140 163 <varlistentry id="libgccpp"> 141 <term><filename class='libraryfile'>libgccpp. {so,a}</filename></term>164 <term><filename class='libraryfile'>libgccpp.so</filename></term> 142 165 <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> 145 169 <indexterm zone="gc libgccpp"> 146 <primary sortas="c-libgccpp">libgccpp. {so,a}</primary>170 <primary sortas="c-libgccpp">libgccpp.so</primary> 147 171 </indexterm> 148 172 </listitem> 149 173 </varlistentry> 150 151 174 </variablelist> 152 153 175 </sect2> 154 155 176 </sect1> -
introduction/welcome/changelog.xml
r9662c41 rb3bb56b 48 48 <para>[abenton] - Updated Libatomic_Ops to 7.2.</para> 49 49 </listitem> 50 <listitem> 51 <para>[abenton] - Updated Gc to 7.2.</para> 52 </listitem> 50 53 </itemizedlist> 51 54 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.