summaryrefslogtreecommitdiff
path: root/hints/newsos4.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/newsos4.sh')
-rw-r--r--hints/newsos4.sh33
1 files changed, 33 insertions, 0 deletions
diff --git a/hints/newsos4.sh b/hints/newsos4.sh
new file mode 100644
index 0000000000..5cbcc531e2
--- /dev/null
+++ b/hints/newsos4.sh
@@ -0,0 +1,33 @@
+#
+# 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 ' 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 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)
+gconvert_preference=sprintf
+# No POSIX.
+useposix='false'