| 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. |
| 13 | usemymalloc='n' |
| 14 | |
| 15 | ld=ld |
| 16 | i_time='define' |
| 17 | cc="cc -32" |
| 18 | ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000" |
| 19 | lddlflags="-32 -shared" |
| 20 | |
| 21 | # We don't want these libraries. Anyone know why? |
| 22 | set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'` |
| 23 | shift |
| 24 | libswanted="$*" |
| 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="$*" |