hi i have a gt 710 2gb kepler gpu. the last cuda version it supports is cuda 11.4 which needs gcc version < 11. i cannot for the life of me figure out what to do. ive tried installing both gcc and cuda through the aur which just results in endless errors which i have to force close.
gcc9 is in AUR - they say not to use an AUR helper to build it, but makepkg
instead
gcc9-bin as well - but this cuda version wants gcc10, so gcc9-bin is no good
… trying to build gcc10 now - it will take quite a while until I know whether the compilation will succeed
i used makpkg -si as well after cloning the files from the aur website
I ended up using yay to build gcc10.
It takes a long time and a lot of memory
My VM has four virtual CPUs and 4 GB of RAM - I had to add 6 GB of swap as a swap file - which slows things down significantly - the test suite is running since more than one hour but the compilation itself is pretty much finished.
… the whole testsuite might take another few hours - I don’t know. I should have disabled it …
no errors whatsoever so far
I also compiled gcc10 for fun
with the standard command: makepkg -sr
==> Making package: gcc10 10.5.0-2 (Fr 13 Jun 2025 17:36:05 CEST)
==> Finished making: gcc10 10.5.0-2 (Fr 13 Jun 2025 21:22:21 CEST)
everything worked and there were no errors (except for the tests)
good luck