lkml.org 
[lkml]   [2002]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] update ver_linux script to work with gcc 3.2.
On Wed, Aug 28, 2002 at 03:18:09PM -0600, Steven Cole wrote:
> --- linux-2.4.20-pre4-ac2/scripts/ver_linux.orig Wed Aug 28 14:37:39 2002
> +++ linux-2.4.20-pre4-ac2/scripts/ver_linux Wed Aug 28 14:37:51 2002
> @@ -12,7 +12,11 @@
> uname -a
> echo ' '
>
> -echo "Gnu C " `gcc --version`
> +gcc --version 2>&1| head -n 1 | grep -v gcc | awk \
> +'NR==1{print "Gnu C ", $1}'
> +
> +gcc --version 2>&1| grep gcc | awk \
> +'NR==1{print "Gnu C ", $3}'

Btw, both old and new versions are buggy here, as they should check $(CC).

My system compiler here is 2.95 but I compile with 3.2 from
/opt/gcc-3.2/bin/gcc

-
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: 2005-03-22 13:28    [W:0.045 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site