--- a/envinfo/envinfo.pl Thu Jun 10 18:49:08 2010 +0100
+++ b/envinfo/envinfo.pl Wed Jun 16 11:36:40 2010 +0100
@@ -214,9 +214,9 @@
}
if ($gcc441_path)
{
- my $gcc441_cmd = "$gcc441_path\\arm-none-symbianelf-g++ -dumpversion";
+ my $gcc441_cmd = "$gcc441_path\\arm-none-symbianelf-g++ --version";
my $gcc441_out = `$gcc441_cmd`;
- $gcc441_ver = "4.4.1" if ($gcc441_out =~ /4.4.1/);
+ $gcc441_ver = $1 if ($gcc441_out =~ /arm-none-symbianelf-g\+\+\ (.*)/);
}
push @environment_info, {name=>'GCC4.4.1', version=>$gcc441_ver};