[SOLVED] Broke gcc while attempting to upgrade it
by jjuanez from LinuxQuestions.org on (#53V5J)
Hi,
I needed to upgrade the kernel in order to install my wireless drivers.
However, the gcc that ships with 14.2 was seemingly too old due to retpoline support. I tried to update gcc by installing a newer slackware package with installpkg command. The process seemingly ended successfully.
However now when attempting to run make I receive error message /usr/bin/gcc: No such file or directory.
I checked usr/bin and the symbolic link is there and the target it points to is there as well. However, when I try to run the target it points to directly I also get the "no such file or directory" error.
I tried installing bin-utils slackware package and it did not help. I'm probably making a silly mistake here somewhere sigh.
Any assistance appreciated. thanks


I needed to upgrade the kernel in order to install my wireless drivers.
However, the gcc that ships with 14.2 was seemingly too old due to retpoline support. I tried to update gcc by installing a newer slackware package with installpkg command. The process seemingly ended successfully.
However now when attempting to run make I receive error message /usr/bin/gcc: No such file or directory.
I checked usr/bin and the symbolic link is there and the target it points to is there as well. However, when I try to run the target it points to directly I also get the "no such file or directory" error.
I tried installing bin-utils slackware package and it did not help. I'm probably making a silly mistake here somewhere sigh.
Any assistance appreciated. thanks