From: Kurt D. Starsinic Date: Tue, 24 Mar 1998 12:25:10 +0000 (-0800) Subject: hints/irix_6.sh with GCC X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=37c4c505728276584b89daeb2ad8f23e5854c653;p=p5sagit%2Fp5-mst-13.2.git hints/irix_6.sh with GCC p4raw-id: //depot/perl@851 --- diff --git a/hints/irix_6.sh b/hints/irix_6.sh index ed3c112..9b54d2b 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -23,6 +23,8 @@ # Threaded by Jarkko Hietaniemi on 11/18/97 # - POSIX threads knowledge by IRIX version +# gcc-enabled by Kurt Starsinic on 3/24/1998 + # Use sh Configure -Dcc='cc -n32' to try compiling with -n32. # or -Dcc='cc -n32 -mips3' (or -mips4) to force (non)portability # Don't bother with -n32 unless you have the 7.1 or later compilers. @@ -76,6 +78,11 @@ case "$cc" in nm_opt='-p' nm_so_opt='-p' ;; +*gcc*) + ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE" + optimize="-O3" + usenm='undef' + ;; *) # this is needed to force the old-32 paths # since the system default can be changed.