--- solenv/bin/getcompver.awk.orig 2005-02-22 00:24:46.976743123 +0100 +++ solenv/bin/getcompver.awk 2005-02-22 00:34:16.624045985 +0100 @@ -98,6 +98,11 @@ CCversion = $0 } } +/^[0-9]*[.][0-9]*[.][0-9]*-[0-9]*$/ { + if ( compiler_matched == 0 ) { + CCversion = substr($0, 0, index($0, "-") - 1) + } +} END { if ( num == "true" ) { tokencount = split (CCversion,vertoken,".")