[PLUG] Kernel Compiler

Galen Seitz galens at seitzassoc.com
Fri Mar 26 17:21:01 UTC 2004


Wil Cooley <wcooley at nakedape.cc> wrote:

> On Fri, 2004-03-26 at 16:35, Bill Spears wrote:
> > How do you tell:
> >   What version of gcc was used to compile a kernel?
> >                                                         a module eg
> > foo.o
> 
> A running kernel?  The very first line of kernel messages indicates. 
> dmesg|head or look in /var/log/dmesg.
> 
> Wil
> -- 
> Wil Cooley                                 wcooley at nakedape.cc
> Naked Ape Consulting                        http://nakedape.cc
> * * * * Linux, UNIX, Networking and Security Solutions * * * *
> *  Naked Ape Consulting                  http://nakedape.cc  *
> *  Sangoma WAN Products Reseller   http://nakedape.cc/r/wan  *

Or cat /proc/version.  At least it works here.  A gcc version
string is stuffed into the kernel when it is built.

galen




More information about the PLUG mailing list