Ernie Schroder wrote:
On Friday 27 January 2006 10:41, a tiny voice compelled Phil Sexton to write:
Ernie Schroder wrote:
I used to know this but I can't find info today. How do I tell which
version of gcc was used to compile my kernel?
This should do it:
gcc -v
Maybe I wasn't clear enough Phil, I suspected that my kernel was built with an
old gcc and my nvidia modules with my current version (gcc-3.4.4-r1).
Andres' suggestion (cat /proc/version) was what I needed.
$ cat /proc/version
<snip>
(gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)) #1 Fri Dec 9
15:39:27 EST 2005
I most likely don't fully understand the difference between the
two/three commands and I was going by a vague memory from a
couple of years back.
Could someone expound on these 3 commands? I don't really
understand the man and info pages on these.
gcc -v
gcc --version
(I thought the previous two were the same.)
cat /proc/version
Does one or more show the currently being used gcc and another
show a previous version used for some other earlier compile(s)?
TIA
--
Phil
My Home Page: http://fancypiper.info
Our 2nd CD: http://www.cdbaby.com/naomisfancy
Naomi's Fancy performances:
http://naomisfancy.virtualave.net/schedule.html
--
gentoo-user@gentoo.org mailing list