[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] error on Mac OS X 10.3 configuration of gnugo 3.7.8
From: |
Stéphane Nicolet |
Subject: |
Re: [gnugo-devel] error on Mac OS X 10.3 configuration of gnugo 3.7.8 |
Date: |
Thu, 2 Feb 2006 21:00:06 +0100 |
Line 4196 is thus:
if (test $GCC_MAJOR_VERSION -eq 3 && test $GCC_MINOR_VERSION -ge
4) || test $GCC_MAJOR_VERSION -gt 3; then
This is preceded by:
GCC_VERSION=`$CC --version | sed '1!D;s/^[^0-9]*\([0-9]\+\.[0-9]
\+\).*$/\1/'`
GCC_MAJOR_VERSION=`echo $GCC_VERSION | sed 's/^\([0-9]\+\).*$/\1/'`
GCC_MINOR_VERSION=`echo $GCC_VERSION | sed 's/^[0-9]\+\.\(.*\)$/
\1/'`
So what output does "gcc --version" produce on your machine?
Dan
On a slightly different set from Terry's (I'm on Mac OS X 10.4 instead
of 10.3), here is what I get :
[~] gcc --version
powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 (Apple Computer, Inc.
build 5026)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
And the first sed invocation gives the following error :
[~] gcc --version | sed '1!D;s/^[^0-9]*\([0-9]\+\.[0-9]\+\).*$/\1/'
tcsh: D: Event not found.
Stéphane
... /// ... \\\ ...