diff options
author | Makoto MATSUSHITA (=?ISO-2022-JP?B?GyRCJF4kRCQ3JD8kXiQzJEgbKEI=?=) <matusita@ics.es.osaka-u.ac.jp> | 1997-05-21 13:16:58 +1200 |
---|---|---|
committer | Tim Bunce <Tim.Bunce@ig.co.uk> | 1997-06-11 12:00:00 +1200 |
commit | 4e81affe051125c1f0c81f7d518efaa52584a56d (patch) | |
tree | 5ebdb7b6de16e1eab5dbfc8fe9f9f640b8e9ad2d /hints | |
parent | 0dcb58f4e9dab7110393871db954eb94cbf90dd0 (diff) | |
download | perl-4e81affe051125c1f0c81f7d518efaa52584a56d.tar.gz |
Compiling perl5.004 on NEWS-OS 4.x
Here (attached below) is a patch for compiling perl5 on NEWS-OS 4.x. It
contains a new hints file for NEWS-OS 4.x and some modification to
Configure. I've tested on perl5.003, perl5.003_99 and perl5.004.
Background: Current release of NEWS-OS is version 6.1.x and it is
SystemV variant. However, NEWS-OS 4.x is 4.3BSD-variant and commonly
used in Japan. So, I named 'newsos' for newer release, and 'newsos4'
for older release. Unfortunately, NEWS-OS 4.x has no uname(1).
p5p-msgid: 19970521132814F.matusita@ics.es.osaka-u.ac.jp
Diffstat (limited to 'hints')
-rw-r--r-- | hints/newsos4.sh | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/hints/newsos4.sh b/hints/newsos4.sh new file mode 100644 index 0000000000..a33cb3154a --- /dev/null +++ b/hints/newsos4.sh @@ -0,0 +1,34 @@ +# +# hints file for NEWS-OS 4.x +# + +echo +echo 'Compiling Tips:' +echo 'When you have found that ld complains "multiple defined" error' +echo 'on linking /lib/libdbm.a, do following instructions.' +echo ' cd /tmp (working on /tmp)' +echo ' cp /lib/libdbm.a dbm.o (copy current libdbm.a)' +echo ' ar cr libdbm.a dbm.o (make archive)' +echo ' mv /lib/libdbm.a /lib/libdbm.a.backup (backup original library)' +echo ' cp /tmp/libdbm.a /lib (copy newer one)' +echo ' ranlib /lib/libdbm.a (ranlib for later use)' +echo + +# No shared library. +so='none' +# Umm.. I like gcc. +cc='gcc' +# Configure does not find out where is libm. +plibpth='/usr/lib/cmplrs/cc' +# times() returns 'struct tms' +clocktype='struct tms' +# getgroups(2) returns integer (not gid_t) +groupstype='int' +# time(3) returns long (not time_t) +timetype='long' +# filemode type is int (not mode_t) +modetype='int' +# using sprintf(3) instead of gcvt(3) +d_Gconvert='sprintf((b),"%.*g",(n),(x))' +# No POSIX. +useposix='false' |