On Fri, Feb 25, 2005 at 02:11:23PM +1300, Derek Smithies wrote: > On Fri, 25 Feb 2005, Roy Britten wrote: > > gunzip -c file | strings | grep "gcc version" > > it is not quite that clear what you mean - apologies for thrashing this, > but what file do you mean by file ?
[suse 9.1] $ cd /boot $ file vmlinu* vmlinux-2.6.5-7.145-default.gz: gzip compressed data, was "vmlinux", from Unix, max compression vmlinuz: symbolic link to `vmlinuz-2.6.5-7.145-default' vmlinuz-2.6.5-7.145-default: Linux/x86 Kernel, Setup Version 0x203, bzImage, Version 2.6.5-7.145-default ([EMAIL PROTECTED], RO-rootFS, root_dev 0x302, Normal VGA I made the brave assumption (which perhaps wiser heads on this list will refute) that the (decompressable) vmlinux* file was equivalent to the (bootable) vmlinuz* file. $ gunzip -c vmlinux-2.6.5-7.145-default.gz | strings | grep "gcc version" Linux version 2.6.5-7.145-default ([EMAIL PROTECTED]) (gcc version 3.3.3 (SuSE Linux)) #1 Thu Jan 27 09:19:29 UTC 2005 Cheers, Roy.
