| 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 ' cp /lib/libdbm.a dbm.o (copy current libdbm.a)' |
| 10 | echo ' ar cr libdbm.a dbm.o (make archive)' |
| 11 | echo ' mv /lib/libdbm.a /lib/libdbm.a.backup (backup original library)' |
| 12 | echo ' cp libdbm.a /lib (copy newer one)' |
| 13 | echo ' ranlib /lib/libdbm.a (ranlib for later use)' |
| 14 | echo |
| 15 | |
| 16 | # No shared library. |
| 17 | so='none' |
| 18 | # Umm.. I like gcc. |
| 19 | cc='gcc' |
| 20 | # Configure does not find out where is libm. |
| 21 | plibpth='/usr/lib/cmplrs/cc' |
| 22 | # times() returns 'struct tms' |
| 23 | clocktype='struct tms' |
| 24 | # getgroups(2) returns integer (not gid_t) |
| 25 | groupstype='int' |
| 26 | # time(3) returns long (not time_t) |
| 27 | timetype='long' |
| 28 | # filemode type is int (not mode_t) |
| 29 | modetype='int' |
| 30 | # using sprintf(3) instead of gcvt(3) |
| 31 | d_Gconvert='sprintf((b),"%.*g",(n),(x))' |
| 32 | # No POSIX. |
| 33 | useposix='false' |