source: general/prog/gc.xml@ 5ff8c3a

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 xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 5ff8c3a was 67cd226, checked in by Douglas R. Reno <renodr@…>, 20 months ago

Package updates:

Update to gc-8.2.2
Update to mozjs-91.13.0
Update to libqalculate-4.3.0
Update to nghttp2-1.49.0

  • Property mode set to 100644
File size: 6.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY gc-download-http "https://github.com/ivmai/bdwgc/releases/download/v&gc-version;/gc-&gc-version;.tar.gz">
8 <!ENTITY gc-download-ftp " ">
9 <!ENTITY gc-md5sum "787177b1b15aa19ffa0d61d8f508b69d">
10 <!ENTITY gc-size "1.1 MB">
11 <!ENTITY gc-buildsize "11 MB (with tests)">
12 <!ENTITY gc-time "0.3 SBU (with tests)">
13]>
14
15<sect1 id="gc" xreflabel="GC-&gc-version;">
16 <?dbhtml filename="gc.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>GC-&gc-version;</title>
23
24 <indexterm zone="gc">
25 <primary sortas="a-GC">GC</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to GC</title>
30
31 <para>
32 The <application>GC</application> package contains the Boehm-Demers-Weiser
33 conservative garbage collector, which can be used as a garbage collecting
34 replacement for the C malloc function or C++ new operator. It allows you
35 to allocate memory basically as you normally would, without explicitly
36 deallocating memory that is no longer useful. The collector automatically
37 recycles memory when it determines that it can no longer be otherwise
38 accessed. The collector is also used by a number of programming language
39 implementations that either use C as intermediate code, want to facilitate
40 easier interoperation with C libraries, or just prefer the simple
41 collector interface. Alternatively, the garbage collector may be used as a
42 leak detector for C or C++ programs, though that is not its primary goal.
43 </para>
44
45 &lfs112_checked;
46
47 <bridgehead renderas="sect3">Package Information</bridgehead>
48 <itemizedlist spacing="compact">
49 <listitem>
50 <para>
51 Download (HTTP): <ulink url="&gc-download-http;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download (FTP): <ulink url="&gc-download-ftp;"/>
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download MD5 sum: &gc-md5sum;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Download size: &gc-size;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated disk space required: &gc-buildsize;
72 </para>
73 </listitem>
74 <listitem>
75 <para>
76 Estimated build time: &gc-time;
77 </para>
78 </listitem>
79 </itemizedlist>
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para role="optional">
83 <xref linkend="libatomic_ops"/>
84 </para>
85
86 <para condition="html" role="usernotes">
87 User Notes: <ulink url="&blfs-wiki;/gc"/>
88 </para>
89 </sect2>
90
91 <sect2 role="installation">
92 <title>Installation of GC</title>
93
94 <para>
95 Install <application>GC</application> by running the following commands:
96 </para>
97
98<screen><userinput>./configure --prefix=/usr \
99 --enable-cplusplus \
100 --disable-static \
101 --docdir=/usr/share/doc/gc-&gc-version; &amp;&amp;
102make</userinput></screen>
103
104 <para>
105 To test the results, issue: <command>make check</command>.
106 </para>
107
108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
111
112<screen role="root"><userinput>make install &amp;&amp;
113install -v -m644 doc/gc.man /usr/share/man/man3/gc_malloc.3</userinput></screen>
114 </sect2>
115
116 <sect2 role="commands">
117 <title>Command Explanations</title>
118
119 <para>
120 <parameter>--docdir=/usr/share/doc/gc-&gc-version;</parameter>:
121 This option is used so the package will install the
122 documentation in a versioned directory.
123 </para>
124
125 <para>
126 <parameter>--enable-cplusplus</parameter>: This parameter enables the
127 building and installing of the C++ library along with the standard
128 C library.
129 </para>
130
131 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
132 href="../../xincludes/static-libraries.xml"/>
133
134 </sect2>
135
136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Programs</segtitle>
141 <segtitle>Installed Libraries</segtitle>
142 <segtitle>Installed Directories</segtitle>
143
144 <seglistitem>
145 <seg>
146 None
147 </seg>
148 <seg>
149 libcord.so,
150 libgc.so,
151 libgccpp.so, and
152 libgctba.so
153 </seg>
154 <seg>
155 /usr/include/gc and
156 /usr/share/doc/gc-&gc-version;
157 </seg>
158 </seglistitem>
159 </segmentedlist>
160
161 <variablelist>
162 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
163 <?dbfo list-presentation="list"?>
164 <?dbhtml list-presentation="table"?>
165
166 <varlistentry id="libcord">
167 <term><filename class="libraryfile">libcord.so</filename></term>
168 <listitem>
169 <para>
170 contains a tree-based string library
171 </para>
172 <indexterm zone="gc libcord">
173 <primary sortas="c-libcord">libcord.so</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="libgc">
179 <term><filename class="libraryfile">libgc.so</filename></term>
180 <listitem>
181 <para>
182 contains a C interface to the conservative garbage collector,
183 primarily designed to replace the C malloc function
184 </para>
185 <indexterm zone="gc libgc">
186 <primary sortas="c-libgc">libgc.so</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="libgccpp">
192 <term><filename class="libraryfile">libgccpp.so</filename></term>
193 <listitem>
194 <para>
195 contains a C++ interface to the conservative garbage collector
196 </para>
197 <indexterm zone="gc libgccpp">
198 <primary sortas="c-libgccpp">libgccpp.so</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="libgctba">
204 <term><filename class="libraryfile">libgctba.so</filename></term>
205 <listitem>
206 <para>
207 contains a C++ interface to throw bad allocations
208 </para>
209 <indexterm zone="gc libgctba">
210 <primary sortas="c-libgctba">libgctba.so</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 </variablelist>
216
217 </sect2>
218
219</sect1>
Note: See TracBrowser for help on using the repository browser.