I am trying to upgrade the gcc compiler from version 8.3 to 8.4. The official gcc documentation suggests compiling from source method which takes 5 hours on average. I need gcc-8.4 version to build some project components with CMAKE. I tried copying binaries from x (on which I compiled gcc-8.4 from source) located at /usr/local/bin
and /usr/local/bin
to the same path in y but the cmake produces following error
However, the when i check gcc --version
on y, it shows version 8.4
Any help or suggestion is appreciated. Thanks in advance.