Ports for SerenityOS
Collections What's new Versions Info Sign in

Boehm-Demers-Weiser Garbage Collector (libgc) 8.2.8 🞉

The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)

cd Ports/bdwgc
./package.sh

Screenshot

Description  ~  📖 Instructions

Testing
To run the included tests on Serenity, append these lines to the package.sh:
configopts+=(
'--enable-gc-debug'
)
post_install() {
run make check || true
run cp gctest "${SERENITY_INSTALL_ROOT}/home/anon"
}

then clean and install the port, run Serenity and execute ./gctest

Website: https://github.com/ivmai/bdwgc

Port: https://github.com/SerenityOS/serenity/tree/master/Ports/bdwgc

Dependencies: libatomic_ops 🖧

Dependents: guile

Sign in to vote

✍️ Edit this page

Similar ports