Commit | Line | Data |
89008bd9 |
1 | # hints/irix_6_2.sh |
2 | # |
5e79a27a |
3 | # original from Krishna Sethuraman, krishna@sgi.com |
89008bd9 |
4 | # |
5 | # Updated Mon Jul 22 14:52:25 EDT 1996 |
6 | # Andy Dougherty <doughera@lafcol.lafayette.edu> |
7 | # with help from Dean Roehrich <roehrich@cray.com>. |
8 | # cc -n32 update info from Krishna Sethuraman, krishna@sgi.com. |
4633a7c4 |
9 | |
89008bd9 |
10 | # Use sh Configure -Dcc='cc -n32' to try compiling with -n32. |
11 | |
12 | case "$cc" in |
13 | *"cc -n32"*) |
14 | ld=ld |
15 | ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 -OPT:fprop_limit=1500" |
16 | optimize='-g' # Miniperl core dumps with -O |
17 | pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"' |
18 | lddlflags="-n32 -shared" |
19 | ldflags=' -L/usr/local/lib -L/usr/lib32 -L/lib32' |
20 | libc='/usr/lib32/libc.so' |
21 | plibpth='/usr/lib32 /lib32 /usr/ccs/lib' |
22 | |
23 | nm_opt='-p' |
24 | nm_so_opt='-p' |
25 | cccdlflags=' ' |
26 | ;; |
27 | *) |
28 | ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -Olimit 3000" |
29 | ;; |
30 | esac |
4633a7c4 |
31 | |
32 | # We don't want these libraries. Anyone know why? |
33 | set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'` |
34 | shift |
35 | libswanted="$*" |
5e79a27a |
36 | |
89008bd9 |
37 | # I have conflicting reports about the sun, crypt, bsd, and PW |
38 | # libraries on Irix 6.2. |
39 | # |
40 | # One user rerports: |
4633a7c4 |
41 | # Don't need sun crypt bsd PW under 6.2. You *may* need to link |
42 | # with these if you want to run perl built under 6.2 on a 5.3 machine |
43 | # (I haven't checked) |
89008bd9 |
44 | # |
45 | # Another user reported that if he included those libraries, a large number |
46 | # of the tests failed (approx. 20-25) and he would get a core dump. To |
47 | # make things worse, test results were inconsistent, i.e., some of the |
48 | # tests would pass some times and fail at other times. |
49 | # The safest thing to do seems to be to eliminate them. |
50 | # |
5e79a27a |
51 | set `echo X "$libswanted "|sed -e 's/ sun / /' -e 's/ crypt / /' -e 's/ bsd / /' -e 's/ PW / /'` |
52 | shift |
53 | libswanted="$*" |
89008bd9 |
54 | |