Messages in this thread | | | Date | Fri, 1 Sep 2006 18:29:08 +0200 (MEST) | From | Jan Engelhardt <> | Subject | Re: 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/
| |