Mac: How to compile/build xnumem
by admin on Oct.03, 2018, under MAC OS X, Programming
xnumem is a small and simple memory library for macOS. The official repository URL is: https://github.com/gordio/xnumem
Step 1: Check out repository
git clone git@github.com:gordio/xnumem.git
Step 2: Change to project directory
cd xnumem/
Step 3: Compile using llvm-gcc
llvm-gcc *.c -o example
Afterwards you should have a new executable called example which runs the sample program provided in example_main.c. Alternatively, if you don’t have llvm-gcc installed, you might as well use i.e. gcc.