Changing the default nvcc platform compiler

Ok, so I’ve got gcc 4.0 as my system default compiler, and it is the one that nvcc uses. How do I specifically tell nvcc to use the gcc 4.4 compiler, with path, " /opt/local/bin/gcc-mp-4.4", instead of the default? I found the ‘-ccbin=/opt/local/bin/’ option, but it won’t work since the name of the gcc binary isn’t simply gcc. Any ideas? (btw, I need gcc 4.4 so that I can compile code with openmp calls in it, so just leaving it as is really isn’t an option.)

Thanks much,

Paul

uh, make a symbolic link from /opt/local/bin/gcc to gcc-mp-4.4?

perfect solution, thanks!

Paul