On Thu, Jul 21, 2005 at 11:10:21AM -0500, Andrew Nelson wrote:
> Ishwar Rattan wrote:
> <snip/>
> > 
> > Is there way to find out what version of gcc it was compiled
> > with? 'uname -a' does not tell the gcc info.
> 
> There is probably a better way but this works.
> 
> dmesg | head -1
> 

That hardly works if your system has been up any length of time:

$ dmesg |head -1
E=0 ID=0 SEQ=1

$ dmesg |head -1
3 device at 0000:02:00.0 into 8x mode

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~sanchezr

Attachment: pgp8si7r6KTEG.pgp
Description: PGP signature

Reply via email to