Re: Environment that was used for building/testing of kernel 2.6.x.y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Hi,
>
>the compiler version is actually included in the VERMAGIC already ;)
>also if you type "dmesg | head -2" you get to see the full version of
>the compiler that was used.... What more would you want?

This requires that the dmesg buffer has not yet wrapped.


18:28 shanghai:~ > dmesg | head -n1
Linux version 2.6.17.7-jen31-default (jengelh@shanghai) (gcc version 4.1.0 
(SUSE Linux)) #1 Fri Jul 28 13:15:29 CEST 2006

18:28 shanghai:~ > modinfo cdrom
filename:       
/lib/modules/2.6.17.7-jen31-default/kernel/drivers/cdrom/cdrom.ko
license:        GPL
vermagic:       2.6.17.7-jen31-default mod_unload 586 REGPARM gcc-4.1
depends:        
parm:           mrw_format_restart:bool
parm:           check_media_type:bool
parm:           lockdoor:bool
parm:           autoeject:bool
parm:           autoclose:bool
parm:           debug:bool
18:28 shanghai:~ > strings 
/lib/modules/2.6.17.7-jen31-default/kernel/drivers/cdrom/cdrom.ko | grep 
gcc
vermagic=2.6.17.7-jen31-default mod_unload 586 REGPARM gcc-4.1


Jan Engelhardt
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux