Commit | Line | Data |
---|---|---|
f4cb4c40 | 1 | # irix_6.sh |
c43fed53 | 2 | # from Krishna Sethuraman, krishna@sgi.com |
f4cb4c40 AD |
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 | ||
c43fed53 | 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 | ||
f0b7e567 | 15 | ld=ld |
f4cb4c40 AD |
16 | i_time='define' |
17 | cc="cc -32" | |
18 | ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000" | |
19 | lddlflags="-32 -shared" | |
16d20bd9 AD |
20 | |
21 | # We don't want these libraries. Anyone know why? | |
ecfc5424 | 22 | set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'` |
f4cb4c40 AD |
23 | shift |
24 | libswanted="$*" | |
ecfc5424 | 25 | # |
f4cb4c40 | 26 | # The following might be of interest if you wish to try 64-bit mode: |
ecfc5424 | 27 | # irix_6_64bit.sh |
c43fed53 | 28 | # Krishna Sethuraman, krishna@sgi.com |
ecfc5424 AD |
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'. | |
f4cb4c40 | 34 | |
ecfc5424 AD |
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). | |
f4cb4c40 AD |
37 | |
38 | # i_time='define' | |
ecfc5424 | 39 | # ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -woff 1009 -OPT:fold_arith_limit=1046" |
f4cb4c40 AD |
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="$*" |