Wednesday, 5 November 2008

First steps of compiling on Mac OS X...

Just like me old school terminal fan instead of fancy XCode user, then this might apply to you.

In order to link to the .dylib (dynamic libraries) used on Mac OS X use the commands below thanks to hint of nijm, written in reference to a program called svnauthz-validate, which I am using to make sure the authz file does not get corrupted.

$curl -O
# Note: assuming you have installed subversion via macports
$gcc -lsvn_repos-1 -lsvn_subr-1 -lapr-1 -L/opt/local/lib -I/opt/local/include/subversion-1 -I/opt/local/include/apr-1 -Wall -o svnauthz-validate svnauthz-validate.c

No comments:

Post a Comment