gnugo-devel
[Top][All Lists]
Advanced

[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: Arend Bayer
Subject: Re: [gnugo-devel] error on Mac OS X 10.3 configuration of gnugo 3.7.8
Date: Thu, 9 Feb 2006 17:32:40 +0100 (CET)

On Thu, 2 Feb 2006, Stéphane Nicol wrote:

> 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/'

Could you try the following: What are the outputs of
echo __GNUC__ | gcc -E -xc - | tail -n 1
echo __GNUC_MINOR__ | gcc -E -xc - | tail -n 1

On #83 (http://trac.gnugo.org/gnugo/ticket/83), I have added a patch that
determines the GCC version from the preprocessor as above. This is stolen
from the scripts/gcc-version.sh in the linus kernel sources, so I hope it
should work universally.

Arend

reply via email to

[Prev in Thread] Current Thread [Next in Thread]