BSD 4_4_Lite2 development
[unix-history] / usr / src / contrib / gawk-2.15.2 / README.sun386i
CommitLineData
b5fa5732
C
1Date: Mon, 16 Mar 1992 14:49:10 -0400
2From: <beebe@math.utah.edu>
3To: david@cs.dal.ca, arnold@skeeve.atl.ga.us
4
5...
6
7On the Sun 386i, floating-point numbers are printed without a leading
8zero digit. This causes the cmp step to fail for the chem target. I
9revised the Makefile, and at the same time, inserted an RM macro in
10place of the many rm calls. The complete updated Makefile is appended
11below. This change should be applied to all systems to avoid the
12leading-zero problem in the future.
13
14On the Sun 386i, my initial "make sunos40" resulted in a load failure
15with
16
17>> Undefined:
18>> strncasecmp
19>> strftime
20
21I therefore modified the Makefile to read
22
23OPTIMIZE= -g -O -fstrength-reduce -DSTRFTIME_MISSING -DSTRCASE_MISSING
24
25and loading got further, but still failed:
26
27>> tzset: ld: /lib/libc.a(localtime.o): multiply defined
28>> *** Error code 1
29>> make: Fatal error: Command failed for target `gawk'
30>> Current working directory /home/share/gnu/src/gawk-2.13
31>> *** Error code 1
32>> make: Fatal error: Command failed for target `test'
33
34Investigation with nm showed that localtime() is only referenced by
35builtin.o, so I simply did
36
37 chmod +x gawk
38 make test bigtest
39
40and was able to complete the test after the leading-zero digit fix
41was applied to the Makefile.
42
43The Sun 386i is not receiving further development by Sun, and SunOS
444.0.3 is the last O/S release for it, so perhaps you don't want to do
45anything other than note the problem in the README file.