Mac: How to compile/build xnumem

by on Oct.03, 2018, under MAC OS X, Programming

xnumem is a small and simple memory library for macOS. The official repository URL is:

Step 1: Check out repository
git clone

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.

:, ,

Leave a Reply


Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!