LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   upgraded gcc,but it's like uselessly (https://www.linuxquestions.org/questions/slackware-14/upgraded-gcc-but-it%27s-like-uselessly-536158/)

antlers 03-09-2007 09:25 PM

upgraded gcc,but it's like uselessly
 
I running SW10.2.I upgradepkg oldgcc%newgcc ,after reboot i type cat /proc/version,but i saw gcc is still old version.why?
gcc-3.3.6---->gcc-3.4.4

zodak 03-09-2007 10:10 PM

The information about GCC listed in /proc/version is merely the indication of which version of GCC was used to compile your kernel. It is not indicative of what version of GCC you have installed on your system. For that, you would want to check with the following command:

gcc --version

antlers 03-09-2007 10:15 PM

Thank you very much.I learned more today.


All times are GMT -5. The time now is 08:51 AM.