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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/boehm-gc | 8.2.10 |
| OpenBSD | devel/boehm-gc | 8.2.12 |
| NetBSD | devel/boehm-gc | 8.2.12 |
| DragonFly | devel/boehm-gc | 8.2.8 |
| MidnightBSD | devel/boehm-gc | 8.2.12 |
| HardenedBSD | devel/boehm-gc | 8.2.10 |
| GhostBSD | devel/boehm-gc | 8.2.10 |
| OPNsense | devel/boehm-gc | 8.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 8.2.10 | 8.2.10 | 8.2.2 | 8.2.8 | 8.2.10 |
| FreeBSD:14:quarterly | 8.2.10 | 8.2.10 | n/a | 8.2.8 | 8.2.10 |
| FreeBSD:15:latest | 8.2.10 | 8.2.10 | n/a | 8.2.8 | 8.2.8 |
| FreeBSD:15:quarterly | 8.2.10 | 8.2.10 | n/a | n/a | n/a |
| FreeBSD:16:latest | 8.2.10 | 8.2.10 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${LOCALBASE}/lib/libatomic_ops.a: devel/libatomic_ops
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Required by 154
- audio/emms
- audio/py-music21
- audio/rosegarden
- audio/zplugins-lv2
- audio/zrythm
- cad/freehdl
- cad/lepton-eda
- cad/libfive
- comms/gnuradio
- comms/morse
- databases/bbdb
- databases/closql
- databases/emacsql
- databases/influxdb
- deskutils/cfiles
- deskutils/gnotime
- deskutils/nextcloudclient
- devel/autogen
- devel/boehm-gc-threaded
- devel/cond-let
- devel/forge
- devel/g-golf
- devel/g-wrap
- devel/ghub
- devel/git
- devel/git-modes
- devel/guile-lib
- devel/libruin
- devel/llama.el
- devel/magit
- devel/ocl-icd
- devel/rabs
- devel/rsvndump
- devel/shards
- devel/shedskin
- devel/transient
- devel/xdg-utils
- editors/apel
- editors/emacs
- editors/emacs-devel
- editors/flim
- editors/poke
- editors/semi
- editors/tamago
- editors/with-editor
- finance/gnucash
- games/aisleriot
- games/bs
- games/gnome-games
- games/gnubik
- games/gogui
- games/ponscripter-07th-mod
- games/ski
- games/trackballs
- graphics/guile-cairo
- graphics/inkscape
- graphics/inkscape-open-symbols
- graphics/zbar
- irc/bitlbee
- irc/riece
- japanese/ddskk
- japanese/lookup
- japanese/mozc3-el
- japanese/navi2ch
- japanese/w3m
- japanese/w3m-img
- lang/crystal
- lang/ecl
- lang/guile
- lang/guile2
- lang/guile3
- lang/haskell-mode.el
- lang/mdk
- lang/oo2c
- lang/sagittarius-scheme
- lang/see
- lang/slib-guile
- mail/aerc
- mail/anubis
- mail/dbmail
- mail/exmh-devel
- mail/exmh2
- mail/mailfromd
- mail/mailutils
- mail/mbar
- mail/mew
- mail/mew-devel
- mail/mfmod_ldap
- mail/mfmod_openmetrics
- mail/mfmod_pcre
- mail/mu
- mail/nmh
- mail/nmh-devel
- mail/notmuch-emacs
- mail/tmpmail
- mail/wanderlust
- math/ess
- math/hs-Agda
- math/libhomfly
- math/maxima
The first 100 are listed.
Configuration
Options name: devel_gc
| Option | Default | Description |
|---|---|---|
| DEBUG | off | Build with debugging support |
- USES
- cpe libtool pathfix pkgconfig
- Service scripts
- none
Message after installing
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
| File | Size | SHA256 |
|---|---|---|
| gc-8.2.10.tar.gz | 1.229219e+06 | 832cf4f7cf676b59582ed3b1bbd90a8d0e0ddbc3b11cb3b2096c5177ce39cc47 |
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.