Difference between revisions of "Gc"

From CBLFS
Jump to navigationJump to search
(New page: {|style="text-align: left; background-color: AliceBlue;" |- !Download Source: |http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-{{Gc-Version}}.tar.gz |} ---- {{Package-Introduct...)
 
 
Line 89: Line 89:
 
|
 
|
 
|}
 
|}
 +
 +
[[Category:Programming]]

Latest revision as of 16:41, 19 March 2009

Download Source: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.1.tar.gz

Introduction to Gc

The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage collecting replacement for C malloc or C++ new. It may also be used as a memory leak detector.

Project Homepage: http://www.hpl.hp.com/personal/Hans_Boehm/gc/

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install

Configuring

Contents

Installed Directories: /usr/share/gc, /usr/include/gc
Installed Programs: None
Installed Libraries: libcord.so, libcord.la, libcord.a, libgc.so, libgc.la, libgc.a
Symlinks: /usr/lib/libcord.so.0 --> /usr/lib/libcord.so.0.0.0, /usr/lib64/libcord.so --> /usr/lib/libcord.so.0.0.0, /usr/lib/libgc.so.1 --> /usr/lib/libgc.so.1.0.2, /usr/lib/libgc.so --> /usr/lib/libgc.so.1.0.2

Short Descriptions