Fwd: LFS Script suggestion

Alexander E. Patrakov patrakov at ums.usu.ru
Sun Jan 28 22:39:31 PST 2007


Tushar Teredesai wrote:
> cat /proc/version | head -n1 | cut -d" " -f1-3,5-7

On a recent Debian installation, this prints:

Linux version 2.6.18-3-686 2.6.18-7) (waldi at debian.org) (gcc

This output doesn't allow one to tell if this kernel is compiled with 
gcc-3.0 or later.

The full /proc/version content, just for the record:

Linux version 2.6.18-3-686 (Debian 2.6.18-7) (waldi at debian.org) (gcc version 
4.1.2 20061115 (prerelease) (Debian 4.1.1-20)) #1 SMP Mon Dec 4 16:41:14 UTC 
2006

-- 
Alexander E. Patrakov



More information about the lfs-dev mailing list