After referring to stackoverflow, I use GArray as an example to demonstrate how to use glib
with CMake
. The code can be downloaded here.
Month: February 2021
Install debug package on Void Linux
To debug package, you should install package-dbg
on Void Linux
:
# xbps-install void-repo-debug
# xbps-install -S jemalloc-dbg
Definitely, the package-dbg
doesn’t include source files, so the source files should be downloaded separately.
References:
Repositories;
Debug sources not found by gdb.