From: Jarkko Hietaniemi Date: Sun, 15 Sep 2002 18:02:17 +0000 (+0300) Subject: Re: [perl #17174] perl 5.8.0 fails tests on NetBSD/Alpha X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f42e9f9012367e58b1bc8229a10035f5c1ac8612;p=p5sagit%2Fp5-mst-13.2.git Re: [perl #17174] perl 5.8.0 fails tests on NetBSD/Alpha Message-ID: <20020915150217.GB21300@lyta.hut.fi> p4raw-id: //depot/perl@17907 --- diff --git a/hints/netbsd.sh b/hints/netbsd.sh index 741413e..d246d09 100644 --- a/hints/netbsd.sh +++ b/hints/netbsd.sh @@ -144,3 +144,28 @@ case "$rpathflag" in done ;; esac + +case `uname -m` in +alpha) + echo 'int main() {}' > try.c + gcc=`${cc:-cc} -v -c try.c 2>&1|grep 'gcc version egcs-2'` + case "$gcc" in + '' | "gcc version egcs-2.95."[3-9]*) ;; # 2.95.3 or better okay + *) cat >&4 <