beta.blog

MAC OS X

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: 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.

Leave a Comment :, , more...

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!