I know the match of -OS X 10.10 -CUDA 4.0 should work, cause someone else is using it this way. But I cannot really make the compile work, and got errors:
clang: error: unsupported option ‘-dumpspecs’
clang: error: no input files
make: *** [obj/x86_64/release/alignedTypes.cu.o] Error 1
make: *** [src/alignedTypes/Makefile.ph_build] Error 2
but after reading all the posts, I tried sudo make -k to force it compiling. And then tested ./deviceQuery
which is saying
CUDA driver version is insufficient for CUDA runtime version
I thought I installed wrong version of driver, the one I installed is 4.0.50, toolkits are 4.0.17. So I tried the earlier one 4.0.17, its worse. It cannot even recognize my gcc.
What can I do next?