BSD Ports

devel/boehm-gc 8.2.10 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BDWGC
Categories
devel
Package size
273.1 KiB, 1096.2 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

SystemPortVersion
FreeBSDdevel/boehm-gc8.2.10
OpenBSDdevel/boehm-gc8.2.12
NetBSDdevel/boehm-gc8.2.12
DragonFlydevel/boehm-gc8.2.8
MidnightBSDdevel/boehm-gc8.2.12
HardenedBSDdevel/boehm-gc8.2.10
GhostBSDdevel/boehm-gc8.2.10
OPNsensedevel/boehm-gc8.2.10

Install

Binary package:

pkg install boehm-gc

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	boehm-gc>0:devel/boehm-gc
LIB_DEPENDS=	libcord.so:devel/boehm-gc

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest8.2.108.2.108.2.28.2.88.2.10
FreeBSD:14:quarterly8.2.108.2.10n/a8.2.88.2.10
FreeBSD:15:latest8.2.108.2.10n/a8.2.88.2.8
FreeBSD:15:quarterly8.2.108.2.10n/an/an/a
FreeBSD:16:latest8.2.108.2.10n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2

Configuration

Options name: devel_gc

OptionDefaultDescription
DEBUGoffBuild with debugging support
USES
cpe libtool pathfix pkgconfig
Service scripts
none

Message after installing

===>   NOTICE:

The boehm-gc port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

Manual pages 1
  • gc(3)
pkg-plist 37
  • include/gc.h
  • include/gc/cord.h
  • include/gc/cord_pos.h
  • include/gc/ec.h
  • include/gc/gc.h
  • include/gc/gc_allocator.h
  • include/gc/gc_backptr.h
  • include/gc/gc_config_macros.h
  • include/gc/gc_cpp.h
  • include/gc/gc_disclaim.h
  • include/gc/gc_gcj.h
  • include/gc/gc_inline.h
  • include/gc/gc_mark.h
  • include/gc/gc_tiny_fl.h
  • include/gc/gc_typed.h
  • include/gc/gc_version.h
  • include/gc/javaxfc.h
  • include/gc/leak_detector.h
  • include/gc_cpp.h
  • lib/libcord.a
  • lib/libcord.so
  • lib/libcord.so.1
  • lib/libcord.so.1.5.1
  • lib/libgc.a
  • lib/libgc.so
  • lib/libgc.so.1
  • lib/libgc.so.1.5.5
  • lib/libgccpp.a
  • lib/libgccpp.so
  • lib/libgccpp.so.1
  • lib/libgccpp.so.1.5.0
  • lib/libgctba.a
  • lib/libgctba.so
  • lib/libgctba.so.1
  • lib/libgctba.so.1.5.0
  • libdata/pkgconfig/bdw-gc.pc
  • share/man/man3/gc.3.gz
distinfo 1
FileSizeSHA256
gc-8.2.10.tar.gz1.229219e+06832cf4f7cf676b59582ed3b1bbd90a8d0e0ddbc3b11cb3b2096c5177ce39cc47
Master sites 2
  • https://www.hboehm.info/gc/gc_source/
  • https://github.com/bdwgc/bdwgc/releases/download/v${PORTVERSION}/

Commit history 0

No commits in the history this site was built from.