BSD Ports

devel/boehm-gc 8.2.8 DragonFly

Garbage collection and memory leak detection for C and C++

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BDWGC
Categories
devel
Package size
258.0 KiB, 1029.1 KiB installed

Description

The Boehm-Weiser garbage collection package, for C and C++ - garbage collection and memory leak detection libraries.

A garbage collector is something which automatically frees malloc'd memory for you by working out what parts of memory your program no longer has pointers to. As a result, garbage collectors can also inform you of memory leaks (if they find memory they can free, it means you have lost all of your pointers to it, but you didn't free it).

C programs may be linked against either of these, and should run (with GC or leak detection) without change. C++ programs must include a header to use garbage collection, though leak detection should work without such source code modifications. See the man page and header files.

ps: garbage collection is addictive.

In the other systems

The newest version among them is 8.2.12, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/boehm-gc8.2.8none known-[email protected]-
FreeBSDdevel/boehm-gc8.2.10none known-[email protected]-
OpenBSDdevel/boehm-gc8.2.12 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/boehm-gc8.2.12 newestnone known-[email protected]-
MidnightBSDdevel/boehm-gc8.2.12 newestno data-[email protected]-
HardenedBSDdevel/boehm-gc8.2.10no data-[email protected]-
GhostBSDdevel/boehm-gc8.2.10no data-[email protected]-
OPNsensedevel/boehm-gc8.2.10no data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install boehm-gc

From DPorts:

cd /usr/dports/devel/boehm-gc && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies