devel/boehm-gc 8.2.12 MidnightBSD
Garbage collection and memory leak detection for C and C++
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- BDWGC
- Categories
- devel
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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/boehm-gc | 8.2.12 newest | no data | - | [email protected] | - |
| FreeBSD | devel/boehm-gc | 8.2.10 | none known | - | [email protected] | - |
| OpenBSD | devel/boehm-gc | 8.2.12 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/boehm-gc | 8.2.12 newest | none known | - | [email protected] | - |
| DragonFly | devel/boehm-gc | 8.2.8 | none known | - | [email protected] | - |
| HardenedBSD | devel/boehm-gc | 8.2.10 | no data | - | [email protected] | - |
| GhostBSD | devel/boehm-gc | 8.2.10 | no data | - | [email protected] | - |
| OPNsense | devel/boehm-gc | 8.2.10 | no data | - | [email protected] | - |
Install
Binary package:
mport install boehm-gc
From mports:
cd /usr/mports/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
Dependency graph
Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 1
${LOCALBASE}/lib/libatomic_ops.a: devel/libatomic_ops
Build dependencies 1
Required by 4
Configuration
Options name: devel_gc
| Option | Default | Description |
|---|---|---|
| DEBUG | off |
- USES
- cpe libtool pathfix pkgconfig
- Service scripts
- none
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.6
- 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
| File | Size | SHA256 |
|---|---|---|
| gc-8.2.12.tar.gz | 1.231996e+06 | 42e5194ad06ab6ffb806c83eb99c03462b495d979cda782f3c72c08af833cd4e |
Master sites 1
- https://github.com/bdwgc/bdwgc/releases/download/v8.2.12/