please include in each distributed kernel version a file with the output of scripts/linux-ver, so, that the user might see under what environment the kernel was built and tested. All info that I found about compiler versions was years old.
kind regards
peter lezoch
On Fri, 2006-09-01 at 15:25 +0000, Peter Lezoch wrote:
> please include in each distributed kernel version a file with the output of scripts/linux-ver, so, that the user might see under what environment the kernel was built and tested. All info that I found about compiler versions was years old.
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?
Greetings,
Arjan van de Ven
>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
--