Ask Your Question

How to install older gcc version? CUDA toolkit.

asked 2012-11-14 12:10:11 -0500

maxyan gravatar image

updated 2012-11-14 12:37:53 -0500

hhlp gravatar image

I'm looking forward to develop CUDA applications, however the latest version is prepared for Fedora 16 and I'm using 17 for quite long time. I've tried this one, but it looks like I have wrong gcc version (too new). I probably need gcc 4.5. There is a way to have both versions, and simply set one as primary, but I don't even knot hot to install older version. gcc is divided into so many packages that I don't really know what to install. I assume I need packages for previous version of Fedora, but which exactly?

By the way, don't you know about any beta releases of CUDA toolkit that might support GCC 4.7?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-12-08 11:09:22 -0500

ryanvade gravatar image

you have to compile the older gcc and make sure your system uses it when dealing with cuda. You also have to use the newer gcc when installing system components like newer nvidia drivers. You have to be able to switch between the two or more versions. And no you can't use 4.7. Only 4.6 or lower.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-11-14 12:10:11 -0500

Seen: 1,378 times

Last updated: Dec 08 '12