lkml.org 
[lkml]   [2006]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Environment that was used for building/testing of kernel 2.6.x.y
>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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-01 18:33    [W:0.031 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site