From 7b8dcda4643168c8e88e6ca442dad5430f832aa2 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 18 Jul 2010 12:21:42 +0000 Subject: [PATCH] Add gcc version information to kdl info command. This could help debugging in some cases and fixes #3240. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37562 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/system_info.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/system/kernel/system_info.cpp b/src/system/kernel/system_info.cpp index 027024fcba..3070eae2d2 100644 --- a/src/system/kernel/system_info.cpp +++ b/src/system/kernel/system_info.cpp @@ -43,7 +43,8 @@ static uint32 sHaikuRevision __attribute__((section("_haiku_revision"))); static int dump_info(int argc, char **argv) { - kprintf("kernel build: %s %s\n", __DATE__, __TIME__); + kprintf("kernel build: %s %s (gcc%d %s)\n", __DATE__, __TIME__, __GNUC__, + __VERSION__); kprintf("SVN revision: %lu\n\n", sHaikuRevision); kprintf("cpu count: %ld, active times:\n", smp_get_num_cpus());