-   Linux - General (
-   -   HOW-TO: find out kernel gcc versions.... woes :S (

kevingpo 11-07-2005 04: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 05:25 PM

For the version:

gcc -v

kevingpo 11-07-2005 06:07 PM

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

webgovernor 11-21-2006 09: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.


daberill 03-15-2011 04:44 PM

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


dmesg | grep "Linux version"

knudfl 03-15-2011 04:55 PM

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

andwan0 03-16-2011 05:48 AM

Cheers man!

Good things come to those who wait.

knudfl 03-16-2011 07:51 AM

Yes, I should have seen that.

@ daberill : Please do not resurrect old threads.

gianmarco 07-19-2011 09: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 01:10 AM.