3 # original from Krishna Sethuraman, krishna@sgi.com
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.
9 # additional update from Scott Henry, scotth@sgi.com
11 # Use sh Configure -Dcc='cc -n32' to try compiling with -n32.
16 ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 -OPT:Olimit=0"
17 # optimize='none' # for pre-7.1 compilers. Miniperl core dumps with -O
18 optimize='-O3' # This works with the 7.1 and later compilers
19 ldflags=' -L/usr/local/lib -L/usr/lib32 -L/lib32'
21 lddlflags="-n32 -shared"
22 libc='/usr/lib32/libc.so'
23 plibpth='/usr/lib32 /lib32 /usr/ccs/lib'
28 # this is needed to force the old-32 paths
29 # since the system default can be changed.
30 ccflags="$ccflags -32 -D_BSD_TYPES -D_BSD_TIME -Olimit 3000"
34 pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
36 # We don't want these libraries. Anyone know why?
37 set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'`
41 # I have conflicting reports about the sun, crypt, bsd, and PW
42 # libraries on Irix 6.2.
45 # Don't need sun crypt bsd PW under 6.2. You *may* need to link
46 # with these if you want to run perl built under 6.2 on a 5.3 machine
49 # Another user reported that if he included those libraries, a large number
50 # of the tests failed (approx. 20-25) and he would get a core dump. To
51 # make things worse, test results were inconsistent, i.e., some of the
52 # tests would pass some times and fail at other times.
53 # The safest thing to do seems to be to eliminate them.
55 # Actually, the only libs that you want are '-lm'. Everything else
56 # you need is in libc. You do also need '-lbsd' if you choose not
57 # to use the -D_BSD_* defines. Note that as of 6.2 the only
58 # difference between '-lmalloc' and '-lc' malloc is the debugging
59 # and control calls. -- scotth@sgi.com
61 set `echo X "$libswanted "|sed -e 's/ sun / /' -e 's/ crypt / /' -e 's/ bsd / /' -e 's/ PW / /'`