Getting minerd compiled on a recent mac isn't too painful. (The info is in this forum, if I ever get everything working, I'll post instructions) My problem is with getting it to compile for OSX 10.4, and ideally in a universal binary. After updating many libraries (m4, automake, autoconf, libtools), I can *almost* get minerd to compile, but it fails during the "make" with the following errors:
config.status: creating cpuminer-config.h
config.status: cpuminer-config.h is unchanged
config.status: executing depfiles commands
hostname-1:~/Desktop/cpuminer root# make
make all-recursive
Making all in compat
make[3]: Nothing to be done for `all-am'.
gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -g -O2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
cpu-miner.c: In function 'parse_arg':
cpu-miner.c:797: error: '_SC_NPROCESSORS_ONLN' undeclared (first use in this function)
cpu-miner.c:797: error: (Each undeclared identifier is reported only once
cpu-miner.c:797: error: for each function it appears in.)
make[2]: *** [minerd-cpu-miner.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Getting this far has been beyond my ken, so I'm pretty stumped here. Is this because I'm trying to compile on a PPC processor? Should I install the dev tools on an intel box running 10.4? Should I just give up?