LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   HOW-TO: find out kernel gcc versions.... woes :S (http://www.linuxquestions.org/questions/linux-general-1/how-to-find-out-kernel-gcc-versions-woes-s-380889/)

kevingpo 11-07-2005 03:50 PM

HOW-TO: find out kernel gcc versions.... woes :S
 
How can I find out what gcc versions I have installed? And how to find out what the kernel was compiled with which gcc version?

XavierP 11-07-2005 04:25 PM

For the version:
Code:

gcc -v

kevingpo 11-07-2005 05:07 PM

Okay. What gcc version do you think compiled Fedora Core 4 initial kernel?

webgovernor 11-21-2006 08:09 AM

I would like to know how to check which gcc version compiled which kernel as well... if you get an answer on this would you mind sending me a message?

Well, I'll keep checking back here anyway.

Thanks!

daberill 03-15-2011 03:44 PM

Man this is quite old, anyway, here's one trick. Run the command below on the console:

Code:

dmesg | grep "Linux version"

knudfl 03-15-2011 03:55 PM

Fedora 4 : Relase = gcc-4.0.0-8. Updates = gcc-4.0.2-8.fc4

http://download.fedora.redhat.com/pu...pdates/4/i386/

andwan0 03-16-2011 04:48 AM

Cheers man!

Good things come to those who wait.

knudfl 03-16-2011 06:51 AM

Yes, I should have seen that.

@ daberill : Please do not resurrect old threads.

gianmarco 07-19-2011 08:14 AM

An "old" thread is NOT old if it had no complete answers.

If dmesg trick doesn't work (e.g. because the kernel ring buffer had already lost boot info) you can try:

cat /proc/version


All times are GMT -5. The time now is 04:58 AM.