LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-07-2005, 03:50 PM   #1
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Rep: Reputation: 30
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?
 
Old 11-07-2005, 04:25 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
For the version:
Code:
gcc -v
 
Old 11-07-2005, 05:07 PM   #3
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Original Poster
Rep: Reputation: 30
Okay. What gcc version do you think compiled Fedora Core 4 initial kernel?
 
Old 11-21-2006, 08:09 AM   #4
webgovernor
LQ Newbie
 
Registered: Jun 2004
Distribution: Ubuntu 8.04 LTS, Gentoo (various)
Posts: 28

Rep: Reputation: 15
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!
 
Old 03-15-2011, 03:44 PM   #5
daberill
LQ Newbie
 
Registered: Jun 2006
Location: Cebu, Philippines
Distribution: kubuntu, yoper, redhat, fedora core, debian, knoppix, Suse, madrake, DSL, my own
Posts: 3

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

Code:
dmesg | grep "Linux version"
 
Old 03-15-2011, 03:55 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,920

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

http://download.fedora.redhat.com/pu...pdates/4/i386/
 
Old 03-16-2011, 04:48 AM   #7
andwan0
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
Cheers man!

Good things come to those who wait.
 
Old 03-16-2011, 06:51 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,920

Rep: Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586
Yes, I should have seen that.

@ daberill : Please do not resurrect old threads.
 
Old 07-19-2011, 08:14 AM   #9
gianmarco
LQ Newbie
 
Registered: Jul 2011
Location: Italy
Distribution: Slackware, Ubuntu, SuSE, Debian, CentOS
Posts: 1

Rep: Reputation: Disabled
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
 
0 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to have two different versions of GCC in the same system ?? nasty_daemon Linux - Software 2 09-07-2005 10:49 AM
switching between gcc versions DrAMac Debian 2 08-30-2005 05:21 PM
How to find Linux kernel & gcc version taichiman Linux - Hardware 2 11-07-2004 01:11 PM
kernel woes: cannot mount/find root fs prell Linux - General 5 10-06-2004 05:18 PM
changing gcc versions SirRobbin Linux - Newbie 0 08-27-2003 09:54 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration