Configuration line for MBv7 OpenCL ATI GPU application for OSX 10.6 and higher :

./configure --disable-server --disable-graphics --disable-shared --enable-bitness=64 --enable-client --enable-static-client --enable-dependency-tracking --enable-static --enable-intrinsics --enable-fast-math --enable-sse3 --host=x86_64-apple-darwin --target=x86_64-apple-darwin --build=x86_64-apple-darwin --with-boinc-platform=x86_64-apple-darwin CPPFLAGS=" -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -O3 -mtune=generic --param inline-unit-growth=3000 -DUSE_I386_OPTIMIZATIONS -DUSE_FFTWF -DUSE_OPENCL -DSETI7 -msse3 -DUSE_SSE3 -I./ -I./client -I./../src" LDSTATIC=" -syslibroot /Developer/SDKs/MacOSX10.6.sdk/System/Library  /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenCL.framework/OpenCL" LDFLAGS=" -mmacosx-version-min=10.6  -lm -static-libgcc " BOINCDIR=" ../../../boinc"


Configuration line for MBv7 OpenCL AMD/ATI GPU application for OSX 10.7 and higher :

./configure --disable-server --disable-graphics --disable-shared --enable-bitness=64 --enable-client --enable-static-client --enable-static --enable-dependency-tracking --enable-intrinsics --enable-sse3 --host=x86_64-apple-darwin --target=x86_64-apple-darwin --build=x86_64-apple-darwin --with-boinc-platform=x86_64-apple-darwin CC="/usr/bin/clang" CPPFLAGS=" -mmacosx-version-min=10.7 -fast -mtune=generic --param inline-unit-growth=3000 -D_POSIX_C_SOURCE -DUSE_I386_OPTIMIZATIONS -DUSE_I386_XEON -DUSE_FFTW -DUSE_OPENCL -DASYNC_SPIKE -DSETI7 -DOCL_CHIRP3 -DUSE_SSE3 -I./ -I./client -I./../src" LDFLAGS=" -mmacosx-version-min=10.7 -ldl -lz -lpthread -framework Carbon -static-libgcc -static-stdc++"  BOINCDIR=" ../../../../boinc"

For NVidia OpenCL build add " -USE_OPENCL_NV" to CPPFLAGS.
If you need the SYSROOT for compatibility, use e.g. : -isysroot /Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk

Applications build for 10.7 or higher are incompatible with 10.6 due to newer libc variant used from 10.7 onwards.


Configuration line for MBv7 OpenCL INTEL GPU application for OSX 10.9 and higher :

./configure --disable-server --disable-graphics --disable-shared --enable-bitness=64 --enable-client --enable-static-client --enable-static --enable-dependency-tracking --enable-intrinsics --enable-sse3 --host=x86_64-apple-darwin --target=x86_64-apple-darwin --build=x86_64-apple-darwin --with-boinc-platform=x86_64-apple-darwin CC="/usr/bin/clang" CPPFLAGS=" -mmacosx-version-min=10.9 -fast -mtune=generic --param inline-unit-growth=3000 -D_POSIX_C_SOURCE -DUSE_I386_OPTIMIZATIONS -DUSE_I386_XEON -DUSE_FFTW -DUSE_OPENCL -DUSE_OPENCL_INTEL -DASYNC_SPIKE -DSETI7 -DOCL_CHIRP3 -DUSE_SSE3 -I./ -I./client -I./../src" LDFLAGS=" -mmacosx-version-min=10.9 -ldl -lz -lpthread -framework Carbon -static-libgcc -static-stdc++"  BOINCDIR=" ../../../../boinc"

Adapt pathes as you need on your build environment.
