Mittwoch, 9. September 2009

Compiling Spin on the Mac

This is primarily a reminder for myself :-) Edit the makefile, add to the CFLAGS "-DMAC". Then, edit main.c. Find the line:

#define CPP "/lib/cpp" /* classic Unix systems */

change it to

#define CPP "/usr/bin/cpp" /* classic Unix systems */

This is supposed to work via -DCPP=/usr/bin/cpp, but somehow it doesn't.
blog comments powered by Disqus