To follow up with the reference for why I was using gcc41

link:
http://ubuntuforums.org/archive/index.php/t-1060781.html

relevant text from the link:
5. Now, we are almost done. The next thing you must do is to add gcc
4.1 and g++ 4.1 since CUDA uses them and Ubuntu 8.10 by default use
gcc 4.3:

sudo apt-get install gcc-4.1 g++-4.1

Now we must set alternatives properly so, gcc 4.1 will be used by
default. You may always switch back to 4.3.

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.1
60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.1
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.3
40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.3


there were a few blog posts where people cited this link as a
reference. i don't know specifically what issue people were having
with gcc43, but if Andreas got it working then maybe it's nothing to
do with gcc41/43 in general but rather an issue with which version of
the linux propriety driver you're using. see, the common thing i saw
was people were using the 177 driver in the repos rather than grabbing
the latest driver from nvidia. it may very well be that there is some
dependency of the 177 driver to gcc41 which is resolved by 180+. maybe
somebody here knows a bit more? regardless, i just wanted to ensure
that whatever problem people were having at some point with their gcc
version wouldn't propagate and show up as an error in pycuda.

Best,
Rayjan

_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to