gcc/libf2c/libU77
Craig Burley a051827081 u77-test.f: Don't bother declaring etime.
* libU77/u77-test.f: Don't bother declaring etime.
        Use `implicit none' and declare mask and lenstr.
        Do ETIME/DTIME consistency check before loop, then
        use loop to verify that dtime "ticks" at some point.
        Check ETIME array-sum using single-precision add, to
        avoid spurious complaint on systems (like x86) that
        use more precision for intermediate results.
        Fix `Results of ETIME and DTIME...' message to print
        pertinent values (r1 and r2 instead of i and j).
        Change loop from 10M to 1K repeated up to 1000 times
        or until dtime "ticks".
        Print the number of 1K loops needed to see this tick.
        Answer a commented question.
        Split up a long line of output and do other prettying.
        Preset lognam in case GETLOG fails to overwrite it.
Patch from Craig.

From-SVN: r18861
1998-03-27 17:28:21 -07:00
..
COPYING.LIB Update address. 1998-02-23 14:57:23 -07:00
Makefile.in u77-test.f: Tweak some o/p. 1998-02-17 16:52:39 -07:00
PROJECTS * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
README * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
Version.c Merge in g77-0.5.22. 1998-03-22 03:43:37 -07:00
access_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
acconfig.h * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
alarm_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
bes.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
chdir_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
chmod_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
config.h.in Update autoconf/autoheader generated files. 1998-02-10 16:51:52 -07:00
configure Update autoconf/autoheader generated files. 1998-02-10 16:51:52 -07:00
configure.in * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
ctime_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
date_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
dbes.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
dtime_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
etime_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
fdate_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
fgetc_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
flush1_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
fnum_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
fputc_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
fstat_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
gerror_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
getcwd_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
getgid_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
getlog_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
getpid_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
getuid_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
gmtime_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
hostnm_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
idate_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
ierrno_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
irand_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
isatty_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
itime_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
kill_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
link_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
lnblnk_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
lstat_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
ltime_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
mclock_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
perror_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
rand_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
rename_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
secnds_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
second_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
sleep_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
srand_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
stat_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
symlnk_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
sys_clock_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
system_clock_.c Initial revision 1998-03-22 11:34:31 -07:00
time_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
ttynam_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
u77-test.f u77-test.f: Don't bother declaring etime. 1998-03-27 17:28:21 -07:00
umask_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
unlink_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
vxtidate_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00
vxttime_.c * Previous contents of gcc/f/runtime moved into toplevel 1998-01-31 18:37:08 -07:00

README

19970811						    -*-text-*-

g77 libU77
----------

This directory contains an implementation of most of the `traditional'
Unix libU77 routines, mostly an interface to libc and libm routines
and some extra ones for time and date etc.  It's intended for use with
g77, to whose configuration procedure it's currently tied, but should
be compatible with f2c otherwise, if using the same f2c.h.

The contents of libU77 and its interfaces aren't consistent across
implementations.  This one is mostly taken from documentation for (an
old version of) the Convex implementation and the v2 SunPro one.
As of g77 version 0.5.20, most of these routines have been made
into g77 intrinsics.  Some routines have a version with a name prefixed
by `vxt', corresponding to the VMS Fortran versions, and these should
be integrated with g77's intrinsics visibility control.

A few routines are currently missing; in the case of `fork', for
instance, because they're probably not useful, and in the case of
`qsort' and those for stream-based i/o handling, because they need
more effort/research.  The configuration should weed out those few
which correspond to facilities which may not be present on some Unix
systems, such as symbolic links.  It's unclear whether the interfaces
to the native library random number routines should be retained, since
their implementation is likely to be something one should avoid
assiduously.

This library has been tested it under SunOS4.1.3 and Irix5.2 and there
has been some feedback from Linux; presumably potential problems lie
mainly with systems with impoverished native C library support which
haven't been properly taken care of with autoconf.

There's another GPL'd implementation of this stuff which I only found
out about recently (despite having looked) and I haven't yet checked
how they should be amalgamated.

Dave Love <d.love@dl.ac.uk>  Aug '95
(minor changes by Craig Burley <burley@gnu.ai.mit.edu> Aug '97)