Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / perl5 / hints / newsos4.sh
1 #
2 # hints file for NEWS-OS 4.x
3 #
4
5 echo
6 echo 'Compiling Tips:'
7 echo 'When you have found that ld complains "multiple defined" error'
8 echo 'on linking /lib/libdbm.a, do following instructions.'
9 echo '    cd /tmp                                (working on /tmp)'
10 echo '    cp /lib/libdbm.a dbm.o                 (copy current libdbm.a)'
11 echo '    ar cr libdbm.a dbm.o                   (make archive)'
12 echo '    mv /lib/libdbm.a /lib/libdbm.a.backup  (backup original library)'
13 echo '    cp /tmp/libdbm.a /lib                  (copy newer one)'
14 echo '    ranlib /lib/libdbm.a                   (ranlib for later use)'
15 echo
16
17 # No shared library.
18 so='none'
19 # Umm.. I like gcc.
20 cc='gcc'
21 # Configure does not find out where is libm.
22 plibpth='/usr/lib/cmplrs/cc'
23 # times() returns 'struct tms'
24 clocktype='struct tms'
25 # getgroups(2) returns integer (not gid_t)
26 groupstype='int'
27 # time(3) returns long (not time_t)
28 timetype='long'
29 # filemode type is int (not mode_t)
30 modetype='int'
31 # using sprintf(3) instead of gcvt(3)
32 d_Gconvert='sprintf((b),"%.*g",(n),(x))'
33 # No POSIX.
34 useposix='false'