1# irix_6.sh 2# from Krishna Sethuraman, krishna@sgi.com 3# Date: Wed Jan 18 11:40:08 EST 1995 4# added `-32' to force compilation in 32-bit mode. 5# otherwise, copied from irix_5.sh. 6 7# Perl built with this hints file under IRIX 6.0.1 passes 8# all tests (`make test'). 9 10# Tue Jan 2 14:52:36 EST 1996 11# Apparently, there's a stdio bug that can lead to memory 12# corruption using perl's malloc, but not SGI's malloc. 13usemymalloc='n' 14 15ld=ld 16i_time='define' 17cc="cc -32" 18ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000" 19lddlflags="-32 -shared" 20 21# We don't want these libraries. Anyone know why? 22set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'` 23shift 24libswanted="$*" 25# 26# The following might be of interest if you wish to try 64-bit mode: 27# irix_6_64bit.sh 28# Krishna Sethuraman, krishna@sgi.com 29# taken from irix_5.sh . Changes from irix_5.sh: 30# Olimit and nested comments (warning 1009) no longer accepted 31# -OPT:fold_arith_limit so POSIX module will optimize 32# no 64bit versions of sun, crypt, nsl, socket, dl dso's available 33# as of IRIX 6.0.1 so omit those from libswanted line via `sed'. 34 35# perl 5 built with this hints file passes most tests (`make test'). 36# Fails on op/subst test only. (built and tested under IRIX 6.0.1). 37 38# i_time='define' 39# ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -woff 1009 -OPT:fold_arith_limit=1046" 40# lddlflags="-shared" 41# set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ sun / /' -e 's/ crypt / /' -e 's/ nsl / /' -e 's/ dl / /'` 42# shift 43# libswanted="$*" 44 45case "$usethreads" in 46$define|true|[yY]*) 47 cat >&4 <<EOM 48IRIX `uname -r` does not support POSIX threads. 49You should upgrade to at least IRIX 6.2 with pthread patches. 50EOM 51 exit 1 52 ;; 53esac 54 55case " $use64bits $use64bitint $use64bitall " in 56*" $define "*|*" true "*|*" [yY] "*) 57 cat >&4 <<EOM 58IRIX `uname -r` does not support 64-bit types. 59You should upgrade to at least IRIX 6.2. 60Cannot continue, aborting. 61EOM 62 exit 1 63esac 64 65