Commit Graph

96 Commits

Author SHA1 Message Date
Dave Love
9eb3f9c994 configure.in: Reorder Makefile, g2c.h in AC_OUTPUT.
1998-10-12  Dave Love  <d.love@dl.ac.uk>
	* configure.in: Reorder Makefile, g2c.h in AC_OUTPUT.

From-SVN: r23005
1998-10-12 02:52:16 +00:00
Jeffrey A Law
9a07247c2a * Makefile.in: Revert last patch.
From-SVN: r22874
1998-10-06 14:18:21 -06:00
H.J. Lu
3f219cad5d Makefile.in (s-libi77): Depend on i77.
* Makefile.in (s-libi77): Depend on i77.
        (s-libf77): Depend on i77.
        (s-libu77): Depend on u77.

From-SVN: r22829
1998-10-04 18:17:29 -06:00
Robert Lipe
82872b5cde Correct typo in robertl's most recent entry.
From-SVN: r22822
1998-10-04 18:01:59 +00:00
Dave Love
43b80f8247 Makefile.in (f2cext.c): Depend on g2c.h.
1998-09-30  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in (f2cext.c): Depend on g2c.h.

From-SVN: r22668
1998-09-30 11:50:08 +00:00
Robert Lipe
bba4de62d4 Makefile.in (all): Correct dependencies do --disable-multilibs works again.
* Makefile.in (all): Correct dependencies do --disable-multilibs
	works again.
  	(distclean): Correct typo.

From-SVN: r22662
1998-09-30 08:05:57 +00:00
Dave Love
f5f6df5cef open.c: Back out part of last Netlib update affecting scratch files which clashed with...
1998-09-28  Dave Love  <d.love@dl.ac.uk>
	* libI77/open.c: Back out part of last Netlib update affecting
	scratch files which clashed with the g77 variations and broke
	implicit endfile on rewind.

From-SVN: r22660
1998-09-30 02:45:44 +00:00
Jeff Law
52464fd6e7 Fix typos.
From-SVN: r22616
1998-09-27 21:24:01 -06:00
Dave Love
10125720dc Version.c: Update.
1998-09-21  Dave Love  <d.love@dl.ac.uk>
	* libI77/Version.c: Update.

From-SVN: r22521
1998-09-21 11:10:01 +00:00
Robert Lipe
ab3003756e Makefile.in (distclean, [...]): Add multilib support.
* Makefile.in (distclean, clean, uninstall, install, all): Add
	multilib support.
	configure.in: Likewise.
	configure: Regenerate.
	* libF77/Makefile.in, libU77/Makefile.in, libI77/Makefile.in (clean):
	Explictly remove stamp in parent's directory.

From-SVN: r22519
1998-09-21 10:34:28 +00:00
Dave Love
0155cab432 sfe.c (e_wdfe): Set f__init to avoid spurious recursive i/o error from formatted direct i/o.
1998-09-20  Dave Love  <d.love@dl.ac.uk>
	* libI77/sfe.c (e_wdfe): Set f__init to avoid spurious recursive
	i/o error from formatted direct i/o.

From-SVN: r22496
1998-09-20 10:53:05 +00:00
Kamil Iskra
50a029fdcc Makefile.in (install): Add missing "else true;".
Thu Sep 10 14:57:25 1998  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
	* Makefile.in (install): Add missing "else true;".

From-SVN: r22401
1998-09-13 04:19:15 +00:00
Craig Burley
4ed35cdcdf configure.in: Test $srcdir, not $subdir (probable typo).
1998-09-09  Craig Burley  <burley@gnu.org>
	* configure.in: Test $srcdir, not $subdir (probable typo).
	Clarify commentary, fix a bit of spacing.

From-SVN: r22349
1998-09-09 06:18:00 +00:00
Dave Love
76bb14e35a ChangeLog.egcs: Deleted.
1998-09-07  Dave Love  <d.love@dl.ac.uk>
	* ChangeLog.egcs: Deleted.  Entries merged here.

From-SVN: r22348
1998-09-09 06:08:45 +00:00
Dave Love
b32067b2e2 sfe.c, dfe.c: Revert last change.
1998-09-07  Dave Love  <d.love@dl.ac.uk>
	* libI77/sfe.c, libI77/dfe.c: Revert last change.

From-SVN: r22307
1998-09-07 02:45:42 +00:00
Dave Love
b76d335291 1998-09-06 Dave Love <d.love@dl.ac.uk>
From Toon to fix spurious recursive i/o errors:
	* libI77/sfe.c (e_wdfe): Set f__init.
	* libI77/dfe.c (c_dfe): Check and set f__init.
	(s_rdfe, s_wdfe): Don't check and set f__init.

From-SVN: r22294
1998-09-06 06:15:14 +00:00
Craig Burley
8c6c251db1 sys_clock_.c (G77_system_clock_0): Fix indentation.
Fri Sep  4 18:40:32 1998  Craig Burley  <burley@gnu.org>
	* libU77/sys_clock_.c (G77_system_clock_0): Fix indentation.

From-SVN: r22251
1998-09-05 10:47:39 +00:00
Craig Burley
99d7f99a7f Version.c: Update.
Tue Sep  1 10:06:06 1998  Craig Burley  <burley@gnu.org>
        * libF77/Version.c: Update.
        * libU77/Version.c: Update.
        * libI77/Version.c: Update.

From-SVN: r22155
1998-09-01 03:13:54 -06:00
Jeffrey A Law
563f648be5 * Makefile.in (FLAGS_TO_PASS): Fix typo.
From-SVN: r22012
1998-08-26 16:20:34 -06:00
Dave Love
beaa74ae03 README: Update from Craig.
1998-08-11  Dave Love  <d.love@dl.ac.uk>
	* README: Update from Craig.

From-SVN: r21672
1998-08-11 10:15:04 +00:00
Dave Love
e5d82dcf39 Makefile.in (s-libe77, [...]): Rely on VPATH, dropping explicit use of $(srcdir) in various places.
1998-07-24  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in (s-libe77, ${srcdir}/configure, g2c.h, Makefile,
	config.status, rebuilt): Rely on VPATH, dropping explicit use of
	$(srcdir) in various places.

From-SVN: r21379
1998-07-25 05:38:51 +00:00
Dave Love
df192962a2 Makefile.in (all): Depend on s-libe77, not e77.
1998-07-19  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in (all): Depend on s-libe77, not e77.
	(.PHONY): Remove e77.

From-SVN: r21280
1998-07-19 04:54:39 +00:00
Craig Burley
eeba5929b8 u77-test.f: Double-check ETIME results, just like 0.5.24 does.
Mon Jul 13 13:31:03 1998  Craig Burley  <burley@gnu.org>
	* libU77/u77-test.f: Double-check ETIME results, just
	like 0.5.24 does.

From-SVN: r21106
1998-07-13 12:13:54 +00:00
Dave Love
b53c05f514 Makefile.in: Re-write build procedure mainly to honour dependencies correctly but also allow...
1998-07-10  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in: Re-write build procedure mainly to honour
	dependencies correctly but also allow making in the build
	directory by configuring the relevant variables.  The lib[FIU]77
	subdirs do dependency checking of their objects.  Stamp files
	dictate when to run (new) archive targets in subdirs.  Some
	tidying of variables.  Supply full set of standard targets.
	* configure.in: Move much of testing to new configures in
	subdirs.  Tidy up handling of RANLIB etc.
	* stamp-h.in, libF77/configure.in, libI77/configure.in,
	libF77/configure, libI77/configure: New files.
	* libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
	Change in step with libf2c/Makefile.in.

From-SVN: r21082
1998-07-12 05:02:03 +00:00
Dave Love
0f5e5cc56d Makefile.in (check): Wrap -lg2c ...
* libU77/Makefile.in (check): Wrap -lg2c ... -lm around $(LIBS) in
	case of static link.

From-SVN: r21037
1998-07-09 14:05:42 +00:00
Dave Love
6fcd759862 * libU77/Version.c, libI77/Version.c: Update version info.
From-SVN: r21031
1998-07-09 04:01:07 +00:00
Dave Love
bf1ba58c34 Zap spurious entry.
From-SVN: r21029
1998-07-09 03:57:21 +00:00
Dave Love
9aae1551a9 sys_clock_.c: Replace TIMES conditional stuff removed in error by last change.
1998-07-09  Dave Love  <d.love@dl.ac.uk>
	* libU77/sys_clock_.c: Replace TIMES conditional stuff removed in
	error by last change.

From-SVN: r21028
1998-07-09 03:40:30 +00:00
Jeff Law
7c880813a8 Move recent entry into the right file.
From-SVN: r20959
1998-07-06 15:05:07 -06:00
Mike Stump
27e581e328 Makefile.in (clean): Don't remove Makefiles, that is done in distclean.
* Makefile.in (clean): Don't remove Makefiles, that is done in
        distclean.

From-SVN: r20956
1998-07-06 15:01:47 -06:00
Dave Love
83630c20a7 Fix 1998-07-05 entry
From-SVN: r20948
1998-07-06 09:53:15 +00:00
Dave Love
a60cb98615 [multiple changes]
1998-07-06  Dave Love  <d.love@dl.ac.uk>
	* libU77/Makefile.in (lib): Change variable lib to LIBS.
1998-07-06  Robert Lipe <robertl@dgii.com>
	* libU77/configure.in: Look for -lsocket, add to LIBS if found.
	* libU77/Makefile.in (lib):  Use LIBS from above.

From-SVN: r20941
1998-07-06 09:01:43 +00:00
Dave Love
a752ed6510 wsfe.c (s_wsfe): Fix setting of f__curunit lost in previous change.
1998-06-29  Dave Love  <d.love@dl.ac.uk>
	* libI77/wsfe.c (s_wsfe): Fix setting of f__curunit lost in
	previous change.
	* libI77/rsfe.c (s_rsfe): Likewise.

From-SVN: r20871
1998-07-01 10:30:22 +00:00
Dave Love
41924d163d backspace.c, [...]: Update to Netlib version of 1998-06-18.
1998-06-23  Dave Love  <d.love@dl.ac.uk>
        * libI77/backspace.c, libI77/dfe.c, libI77/due.c, libI77/iio.c,
        libI77/lread.c, libI77/ sfe.c, libI77/sue.c, libI77/wsfe.c: Update
        to Netlib version of 1998-06-18.

From-SVN: r20696
1998-06-24 10:15:19 +00:00
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
Dave Love
2929d7a2a0 Makefile.in ($(lib)): Use shell loop instead of unportable make variable substitution.
1998-05-20  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in ($(lib)): Use shell loop instead of unportable
	make variable substitution.

From-SVN: r19957
1998-05-22 10:49:26 +00:00
Craig Burley
5a276a25c6 Break up main() into separate .o's so making and linking against shared...
Tue May 19 12:50:27 1998  Craig Burley  <burley@gnu.org>
	Break up main() into separate .o's so making and
	linking against shared libraries with non-Fortran
	main() routines is easier:
	* Makefile.in (MISC): Add setarg.o and setsig.o.
	* libF77/Makefile.in (MISC): Ditto.
	* libF77/setarg.c: New file, contains f_setarg().
	* libF77/setsig.c: New file, contains f_setsig().
	* libF77/getarg_.c: Rename xarg* to f__xarg*.
	* libF77/iargc_.c: Ditto

From-SVN: r19956
1998-05-22 10:32:18 +00:00
Craig Burley
06033860a7 signal_.c, [...]: Tweaks to eliminate unnecessary differences vs.
Sat May  2 16:44:46 1998  Craig Burley  <burley@gnu.org>
* libF77/signal_.c, libI77/dfe.c, libI77/due.c,
libI77/wsfe.c: Tweaks to eliminate unnecessary
differences vs. netlib libf2c.

From-SVN: r19879
1998-05-19 11:02:16 +00:00
Craig Burley
a843efa0d4 Update to Netlib version of 1998-04-20
From-SVN: r19877
1998-05-19 10:52:03 +00:00
Dave Love
1794ae47e3 Fix entries (JCB).
From-SVN: r19846
1998-05-18 11:10:31 +00:00
Craig Burley
515d3c1783 hostnm_.c (G77_hostnm_0): Fix off-by-one error that was trashing the byte just beyond the CHARACTER*(*)...
Sun Apr 26 09:13:41 1998  Craig Burley  <burley@gnu.org>
	* libU77/hostnm_.c (G77_hostnm_0): Fix off-by-one error
	that was trashing the byte just beyond the CHARACTER*(*)
	argument.

From-SVN: r19429
1998-04-27 10:22:25 +00:00
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
Jeff Law
2731cc566b Merge in g77-0.5.22.
From-SVN: r18757
1998-03-22 03:43:37 -07:00
Jeff Law
56a0044b23 Another bunch of patches from Craig. See ChangeLogs for details.
From-SVN: r18188
1998-02-22 12:36:33 -07:00
Craig Burley
6d43319624 Various changes from Craig. See the appropriate ChangeLog files.
From-SVN: r18182
1998-02-22 12:25:07 -07:00
Jeff Law
81fea2b1d1 * Previous contents of gcc/f/runtime moved into toplevel
"libf2c" directory.

From-SVN: r17568
1998-01-31 18:37:08 -07:00