Whats the best way to install the cuda toolkit on fedora scientific spin ?




I am having problems with the cuda toolkit. After installing nvcc can't find some of the header files. I am wondering if I'm installing cuda wrong.
Since cuda needs gcc 4.4 I have to install it as a secondary version(fedora 17 uses 4.7)
I install that as the secondary and keep it in /opt/gcc4.4.7/
I then run the cuda toolkit installer.
Then I try to compile the samples. They don't usually work.
Should i do something else?

Go for Gcc first and then try for the cuda.. if it persist then we will try other soln..
add this to .bashrc:

$PATH = “/usr/local/cuda/bin:$PATH”

may it help you..