gcc/libf2c/libU77
Craig Burley f30bc2e7f5 Makefile.in (install): Don't install if $(libsubdir) is empty...
Sat Jun 13 03:46:40 1998  Craig Burley  <burley@gnu.org>
	* Makefile.in (install): Don't install if $(libsubdir)
	is empty; issue a diagnostic saying top-level Makefile
	must pass it in instead, and exit.
	* Makefile.in (g2c.h): Rename from f2c.h.
	* Makefile.in, libF77/Makefile.in, libI77/Makefile.in,
	libU77/Makefile.in: Rewrite config and var assignment
	sections to be even more minimal than before, and to
	more clearly documented what macros are expected to be
	set and to what sorts of values.  Eliminate CROSS and
	related stuff, since there's no such things as CROSS
	in egcs.  Rename GCC_FOR_TARGET to CC throughout.
	* Makefile.in (stamp-libi77, stamp-libf77, stamp-libu77):
	Eliminate CROSS.
	* configure.in: Eliminate CROSS.
	Rename libf2c.a and f2c.h to libg2c.a and g2c.h,
	normalize and simplify g77/libg2c build process:
	* Makefile.in: Remove all stuff pertaining to
	installation, cleaning, and so on.  Parent Makefile
	does all that now.  Pass F2C_H_DIR,
	G2C_H_DIR, and GCC_H_DIR, the pathnames for the
	directories containing f2c.h, g2c.h, and other
	#include files, to subdirectory Makefiles.
	(stamp-libf77, stamp-libi77, stamp-libu77):
	Don't specify `-f Makefile' anymore, it's not needed
	now that subdirectory makefile's from netlib are
	renamed to makefile.netlib in g77 source (and to
	makefile.ori by configuration process, in case they're
	still around somehow).
	(stamp-libe77): Don't make libE77 dir unless it doesn't
	exist, if it does just delete all objects in it.
	Compile using $(GCC_FOR_TARGET), not $(CC).
	(rebuilt): Remove this and all subordinate targets,
	as parent Makefile now handles all that.
	(*clean): Remove.
	* configure.in (Pad_UDread, ALWAYS_FLUSH, WANT_LEAD_0):
	Remove these and commentary to new f2c.h file.
	AC_OUTPUT g2c.h instead of f2c.h.  Remove old commentary
	regarding concatenation.
	* g2c.h.in: Rename from f2c.h.in, add appropriate
	commentary.
	* f2c.h: New file, a wrapper for g2c.h that does
	libg2c-specific stuff.
	* libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
	Change $(ALL_CFLAGS) to use F2C_H_DIR, G2C_H_DIR, and GCC_H_DIR
	macros.  Remove F2C_H macro, replace use with explicit
	dependencies on f2c.h and g2c.h.
	(*clean): Remove.

From-SVN: r20507
1998-06-15 07:52:05 +00:00
..
access_.c
acconfig.h
alarm_.c
bes.c
chdir_.c
chmod_.c
config.h.in
configure
configure.in
COPYING.LIB Update address. 1998-02-23 14:57:23 -07:00
ctime_.c
date_.c
dbes.c Tweaks to eliminate unnecessary differences vs. 1998-05-19 11:01:52 +00:00
dtime_.c
etime_.c
fdate_.c
fgetc_.c
flush1_.c
fnum_.c
fputc_.c
fstat_.c
gerror_.c
getcwd_.c
getgid_.c
getlog_.c
getpid_.c
getuid_.c
gmtime_.c Bounce the ftnint argument through a local time_t. 1998-04-27 16:00:10 -07:00
hostnm_.c (G77_hostnm_0): Fix off-by-one error 1998-04-27 10:11:57 +00:00
idate_.c
ierrno_.c
irand_.c
isatty_.c
itime_.c
kill_.c
link_.c
lnblnk_.c
lstat_.c
ltime_.c * libU77/ltime_.c: Bounce the ftnint argument through a local time_t. 1998-04-27 15:53:54 -07:00
Makefile.in Makefile.in (install): Don't install if $(libsubdir) is empty... 1998-06-15 07:52:05 +00:00
mclock_.c
perror_.c
PROJECTS
rand_.c
README
rename_.c
secnds_.c
second_.c
sleep_.c
srand_.c
stat_.c
symlnk_.c
sys_clock_.c
system_clock_.c Initial revision 1998-03-22 11:34:31 -07:00
time_.c
ttynam_.c
u77-test.f u77-test.f: Don't bother declaring etime. 1998-03-27 17:28:21 -07:00
umask_.c
unlink_.c
Version.c Update to Netlib version of 1998-04-20 1998-05-19 10:52:03 +00:00
vxtidate_.c
vxttime_.c

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)