79363bbc9f578776dc77bae50749632de453b79d
[p5sagit/p5-mst-13.2.git] / hints / irix_6.sh
1 # irix_6.sh
2 # from Krishna Sethuraman, krishna@mit.edu
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 i_time='define'
11 cc="cc -32"
12 ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000"
13 lddlflags="-32 -shared"
14 set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl /
15 /'`
16 shift
17 libswanted="$*"
18
19 # The following might be of interest if you wish to try 64-bit mode:
20 # irix_6.sh
21 # Krishna Sethuraman, krishna@mit.edu
22 # This will build a 64-bit perl 5 executable under IRIX 6.x.
23 # I had to remove socket, sun, crypt, nsl, and dl from the 
24 # link line because there are no 64-bit libraries with these
25 # names (as of IRIX 6.0.1).
26
27 # I don't know if this will actually build a fully working perl because I
28 # can't tell if the symbols normally provided by these libraries
29 # are provided by other libraries which remain on the link line.
30 # In any case, perl does build with this file without unresolved
31 # symbol complaints.
32
33 # i_time='define'
34 # ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000"
35 # lddlflags="-shared"
36 # set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ sun / /' -e 's/ crypt / /' -e 's/ nsl / /' -e 's/ dl / /'`
37 # shift
38 # libswanted="$*"