1 1998-07-06 Dave Love <d.love@dl.ac.uk>
3 * libU77/Makefile.in (lib): Change variable lib to LIBS.
5 1998-07-06 Robert Lipe <robertl@dgii.com>
7 * libU77/configure.in: Look for -lsocket, add to LIBS if found.
9 * libU77/Makefile.in (lib): Use LIBS from above.
11 1998-07-05 Dave Love <d.love@dl.ac.uk>
13 * f2cext.c (system_clock_): Remove (just f90 intrinsic).
15 * Makefile.in (F2CEXT): Remove sclock.
16 (UOBJ): Add libU77/datetime_.o.
18 * libU77/config.h.in: Add HAVE_GETTIMEOFDAY.
20 * libU77/configure.in: Check for gettimeofday.
22 * libU77/datetime_.c: New file.
24 * libU77/sys_clock_.c: Allow optional args.
26 * libU77/Makefile.in (G77DIR): Fix for current directory
28 (SRCS, OBJS): Add datetime.
30 * libU77/u77-test.f: Call date_and_time. Call system_clock
33 1998-06-29 Dave Love <d.love@dl.ac.uk>
35 * libI77/wsfe.c (s_wsfe): Fix setting of f__curunit lost in
37 * libI77/rsfe.c (s_rsfe): Likewise.
39 1998-06-23 Dave Love <d.love@dl.ac.uk>
41 * libI77/backspace.c, libI77/dfe.c, libI77/due.c, libI77/iio.c,
42 libI77/lread.c, libI77/ sfe.c, libI77/sue.c, libI77/wsfe.c: Update
43 to Netlib version of 1998-06-18.
45 Sat Jun 13 03:46:40 1998 Craig Burley <burley@gnu.org>
47 * Makefile.in (install): Don't install if $(libsubdir)
48 is empty; issue a diagnostic saying top-level Makefile
49 must pass it in instead, and exit.
51 * Makefile.in (g2c.h): Rename from f2c.h.
53 * Makefile.in, libF77/Makefile.in, libI77/Makefile.in,
54 libU77/Makefile.in: Rewrite config and var assignment
55 sections to be even more minimal than before, and to
56 more clearly documented what macros are expected to be
57 set and to what sorts of values. Eliminate CROSS and
58 related stuff, since there's no such things as CROSS
59 in egcs. Rename GCC_FOR_TARGET to CC throughout.
60 * Makefile.in (stamp-libi77, stamp-libf77, stamp-libu77):
62 * configure.in: Eliminate CROSS.
64 Rename libf2c.a and f2c.h to libg2c.a and g2c.h,
65 normalize and simplify g77/libg2c build process:
66 * Makefile.in: Remove all stuff pertaining to
67 installation, cleaning, and so on. Parent Makefile
68 does all that now. Pass F2C_H_DIR,
69 G2C_H_DIR, and GCC_H_DIR, the pathnames for the
70 directories containing f2c.h, g2c.h, and other
71 #include files, to subdirectory Makefiles.
72 (stamp-libf77, stamp-libi77, stamp-libu77):
73 Don't specify `-f Makefile' anymore, it's not needed
74 now that subdirectory makefile's from netlib are
75 renamed to makefile.netlib in g77 source (and to
76 makefile.ori by configuration process, in case they're
77 still around somehow).
78 (stamp-libe77): Don't make libE77 dir unless it doesn't
79 exist, if it does just delete all objects in it.
80 Compile using $(GCC_FOR_TARGET), not $(CC).
81 (rebuilt): Remove this and all subordinate targets,
82 as parent Makefile now handles all that.
84 * configure.in (Pad_UDread, ALWAYS_FLUSH, WANT_LEAD_0):
85 Remove these and commentary to new f2c.h file.
86 AC_OUTPUT g2c.h instead of f2c.h. Remove old commentary
87 regarding concatenation.
88 * g2c.h.in: Rename from f2c.h.in, add appropriate
90 * f2c.h: New file, a wrapper for g2c.h that does
91 libg2c-specific stuff.
92 * libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
93 Change $(ALL_CFLAGS) to use F2C_H_DIR, G2C_H_DIR, and GCC_H_DIR
94 macros. Remove F2C_H macro, replace use with explicit
95 dependencies on f2c.h and g2c.h.
98 1998-05-20 Dave Love <d.love@dl.ac.uk>
100 * Makefile.in ($(lib)): Use shell loop instead of unportable
101 make variable substitution.
103 Tue May 19 12:50:27 1998 Craig Burley <burley@gnu.org>
105 Break up main() into separate .o's so making and
106 linking against shared libraries with non-Fortran
107 main() routines is easier:
108 * Makefile.in (MISC): Add setarg.o and setsig.o.
109 * libF77/Makefile.in (MISC): Ditto.
110 * libF77/setarg.c: New file, contains f_setarg().
111 * libF77/setsig.c: New file, contains f_setsig().
112 * libF77/getarg_.c: Rename xarg* to f__xarg*.
113 * libF77/iargc_.c: Ditto
115 Sat May 2 16:44:46 1998 Craig Burley <burley@gnu.org>
117 * libF77/signal_.c, libI77/dfe.c, libI77/due.c,
118 libI77/wsfe.c: Tweaks to eliminate unnecessary
119 differences vs. netlib libf2c.
121 Fri May 1 11:57:45 1998 Craig Burley <burley@gnu.org>
123 Update to Netlib version of 1998-04-20:
124 * libF77/dtime_.c, libF77/etime_.c, libF77/h_dnnt.c,
125 libF77/h_nint.c, libF77/i_dnnt.c, libF77/i_nint.c,
126 libF77/main.c, libF77/s_paus.c, libF77/signal1.h0,
127 libI77/backspace.c, libI77/close.c, libI77/dfe.c,
128 libI77/endfile.c, libI77/err.c, libI77/fio.h,
129 libI77/iio.c, libI77/ilnw.c, libI77/lread.c,
130 libI77/lwrite.c, libI77/open.c, libI77/rawio.h,
131 libI77/sfe.c, libI77/util.c, libI77/wrtfmt.c,
132 libI77/wsfe.c, libI77/wsle.c, libI77/wsne.c:
133 See changes.netlib for info.
135 Sun Apr 26 09:13:41 1998 Craig Burley <burley@gnu.org>
137 * libU77/hostnm_.c (G77_hostnm_0): Fix off-by-one error
138 that was trashing the byte just beyond the CHARACTER*(*)
141 Wed Mar 4 16:32:46 1998 Craig Burley <burley@gnu.org>
143 * libU77/u77-test.f: Don't bother declaring etime.
144 Use `implicit none' and declare mask and lenstr.
145 Do ETIME/DTIME consistency check before loop, then
146 use loop to verify that dtime "ticks" at some point.
147 Check ETIME array-sum using single-precision add, to
148 avoid spurious complaint on systems (like x86) that
149 use more precision for intermediate results.
150 Fix `Results of ETIME and DTIME...' message to print
151 pertinent values (r1 and r2 instead of i and j).
152 Change loop from 10M to 1K repeated up to 1000 times
153 or until dtime "ticks".
154 Print the number of 1K loops needed to see this tick.
155 Answer a commented question.
156 Split up a long line of output and do other prettying.
157 Preset lognam in case GETLOG fails to overwrite it.
159 Sat Feb 28 15:32:15 1998 Craig Burley <burley@gnu.org>
161 * libI77/open.c (f_open): Use sizeof(buf) instead of
162 256, for the usual reasons.
164 Tue Dec 23 22:56:01 1997 Craig Burley <burley@gnu.org>
166 * libF77/signal_.c (G77_signal_0): Return type is
167 now `void *', to cope with returning previous signal
168 handler on 64-bit systems like Alphas.
169 * f2cext.c (signal_): Changed accordingly.
171 Wed Oct 29 01:01:04 1997 Mumit Khan <khan@brahma.xraylith.wisc.edu>
173 * configure.in: Set CC to CC_FOR_TARGET when cross-compiling.
175 Fri Oct 24 11:15:22 1997 Mumit Khan <khan@brahma.xraylith.wisc.edu>
177 * libI77/close.c (f_exit): Reset f__init so that f_clos does not
178 (incorrectly) think there is an I/O recursion when program is
181 Wed Oct 15 10:06:29 1997 Richard Henderson <rth@cygnus.com>
183 * libI77/fio.h: Include <string.h> if STDC_HEADERS.
184 * libU77/chmod_.c: Likewise.
186 1997-10-03 Dave Love <d.love@dl.ac.uk>
188 * configure.in: Check for tempnam (best because it obeys TMPDIR).
189 * libI77/open.c: Use it.
190 * libI77/err.c: New message # 132.
192 Tue Sep 30 00:41:39 1997 Craig Burley <burley@gnu.ai.mit.edu>
194 Do a better job of printing the offending FORMAT string
195 when producing a diagnostic:
196 * libI77/err.c (f__fmtlen): New variable to hold operating
197 length of format string.
198 (f__fatal): Use new variable to limit length of printed string.
199 * libI77/fmt.c (f_s): Don't skip spaces after closing paren,
200 so nicer message results (and nested case already skips them).
201 (pars_f): Record operating length of format string as indicated
202 by a successful call to f_s, or ad-hoc-calculate it if failure,
203 limiting the length to 80 characters (and stopping at NUL).
204 (do_fio): Use new variable to limit length of printed string.
205 * libI77/fmt.h (f__fmtlen): Declare new variable.
206 * libI77/lread.c (c_le): Set new variable to known length.
208 Mon Sep 29 16:30:31 1997 Craig Burley <burley@gnu.ai.mit.edu>
210 Update to Netlib version of 1997-09-23:
211 * libF77/dtime_.c (dtime_), libF77/etime_.c (dtime_):
212 Return `double' instead of `float' (these are not used
213 in g77's version of libf2c).
214 * libI77/fmt.c, libI77/fmt.h, libI77/rdfmt.c, libI77/wrtfmt.c:
215 Support machines with 64-bit pointers and 32-bit ints (e.g.
218 1997-09-19 Dave Love <d.love@dl.ac.uk>
220 * libU77/dtime_.c (G77_dtime_0): Fix types in HAVE_GETRUSAGE case
221 so as not to truncate results to integer values.
223 Tue Sep 9 00:33:24 1997 Craig Burley <burley@gnu.ai.mit.edu>
225 * Version 0.5.21 released.
227 Mon Sep 8 19:39:01 1997 Craig Burley <burley@gnu.ai.mit.edu>
229 * libI77/close.c (f_exit): Fix thinko, inverted test
230 of whether initialization done, so exiting now closes
233 Tue Aug 26 01:42:21 1997 Craig Burley <burley@gnu.ai.mit.edu>
236 * configure.in: Make sure RANLIB_TEST is set also.
238 From Robert Lipe <robertl@dgii.com>:
239 * libU77/getcwd_.c, libU77/hostnm_.c, libU77/lstat_.c:
240 Also #include <errno.h>, to define ENOSYS.
242 Tue Aug 26 01:25:58 1997 Craig Burley <burley@gnu.ai.mit.edu>
244 * Makefile.in (stamp-lib): Put all f2cext.c objects in
245 a temp directory named libE77, then `ar' them all at
246 once into libf2c.a, to get the job done a bit faster.
247 Still remove the objects (and libE77 directory) afterward.
249 Sun Aug 24 05:04:35 1997 Craig Burley <burley@gnu.ai.mit.edu>
251 * libU77/rand_.c (G77_rand_0), libU77/dtime_.c (G77_dtime_0),
252 libU77/etime_.c (G77_etime_0), libU77/secnds_.c (G77_secnds_0),
253 libU77/second_.c (G77_second_0): Really return `double', not
254 `doublereal', since the result is cast to `float'.
255 * f2cext.c: (rand_, dtime_, etime_, secnds_, second_): Ditto.
256 (erf_, erfc_, besj0_, besj1_, besjn_, besy0_, besy1_,
257 besyn_, dbesj0_, dbesj1_, dbesjn_, dbesy0_, dbesy1_,
258 dbesyn_): All of these return `double', not `doublereal',
259 as they either have `float' or `double' results.
260 * libU77/bes.c (besj0_, besj1_, besjn_, besy0_, besy1_,
262 * libU77/dbes.c (dbesj0_, dbesj1_, dbesjn_, dbesy0_, dbesy1_,
265 Update to Netlib version of 1997-08-16:
266 * libI77/iio.c: Fix bug in internal writes to an array
267 of character strings.
269 * Makefile.in (UOBJ): Restore fixes made by Dan Pettet I
270 lost, which included the addition of mclock_.o already noted
271 below, plus adding symlnk_.o.
273 Thu Aug 21 03:58:34 1997 Craig Burley <burley@gnu.ai.mit.edu>
275 * Makefile.in (UOBJ): Add mclock_.o, thanks to Mumit Khan!
277 1997-08-21 Dave Love <d.love@dl.ac.uk>
279 * libU77/alarm_.c: Fix return type: `integer'.
281 Mon Aug 11 20:12:42 1997 Craig Burley <burley@gnu.ai.mit.edu>
283 * Makefile.in ($(lib), stamp-lib): Ensure that library
284 gets fully updated even if updating was aborted earlier.
286 * libU77/hostnm_.c (G77_hostnm_0): Return ENOSYS and stuff
287 in errno if system has no gethostname() function.
289 * libU77/lstat_.c (G77_lstat_0): Return ENOSYS and stuff
290 in errno if system has no lstat() function.
292 * libU77/getcwd_.c (G77_getcwd_0): Return ENOSYS and stuff
293 in errno if system has no getcwd() or getwd() function.
294 Test HAVE_GETCWD properly.
296 * libU77/symlnk_.c (G77_symlink_0): Return ENOSYS and stuff
297 in errno if system has no symlink() function.
299 * libU77/mclock_.c (G77_mclock_0): Return -1 if system
300 has no clock() function.
302 Mon Aug 11 01:55:36 1997 Craig Burley <burley@gnu.ai.mit.edu>
304 * Makefile.in (F2CEXT): Add `alarm' to this list.
306 * f2cext.c (alarm_): Fix some typos in this function.
307 Delete third `status' argument.
309 * libU77/alarm_.c: Delete third `status' argument,
310 as caller gets this from function result; return
311 status value as function result for caller.
313 * configure.in: Rename `ac_cv_struct_FILE' to
314 `g77_cv_struct_FILE' according to 1997-06-26 change.
316 1997-08-06 Dave Love <d.love@dl.ac.uk>
318 * libU77/vxtidate_.c: Correct day/month argument order.
319 * f2cext.c: Likewise.
321 1997-07-07 Dave Love <d.love@dl.ac.uk>
323 * f2cext.c: Add alarm_.
325 * Makefile.in, libU77/Makefile.in: Add alarm_.
327 * libU77/alarm_.c: New file.
329 1997-06-26 Dave Love <d.love@dl.ac.uk>
331 * configure.in: Generally use prefix `g77_' for cached values
332 we've invented, not `ac_'.
334 Tue Jun 24 18:50:06 1997 Craig Burley <burley@gnu.ai.mit.edu>
336 * libI77/ilnw.c (s_wsni): Call f_init() here.
338 (e_wsli): Turn off "doing I/O" flag here.
340 1997-06-20 Dave Love <d.love@dl.ac.uk>
342 * runtime/configure.in: Check for cygwin32 after Mumit Khan (but
343 differently); if cygwin32 define NON_UNIX_STDIO and don't define
346 Tue Jun 01 06:26:29 1997 Craig Burley <burley@gnu.ai.mit.edu>
348 * libI77/rsne.c (nl_init): Don't call f_init() here,
349 since s_rsne() already does.
350 (c_lir): Call f_init() here instead.
351 * libI77/rsli.c (e_rsli): Turn off "doing I/O" flag here.
352 * libI77/sue.c (e_rsue): Ditto.
354 Sun Jun 22 23:27:22 1997 Craig Burley <burley@gnu.ai.mit.edu>
356 * libI77/fio.h (err): Mark I/O as no longer in progress
357 before returning a non-zero error indicator (since
358 that tells the caller to jump over the remaining I/O
359 calls, including the corresponding `e_whatever' call).
360 * libI77/err.c (endif): Ditto.
361 * libI77/sfe.c (e_wsfe): Ditto.
362 * libI77/lread.c (ERR): Ditto.
363 * libI77/lread.c (l_read): Ditto by having quad case
364 use ERR, not return, to return non-zero error code.
366 Sat Jun 21 12:31:28 1997 Craig Burley <burley@gnu.ai.mit.edu>
368 * libI77/open.c (fk_open): Temporarily turn off
369 "doing I/O" flag during f_open() call to avoid recursive
372 Tue Jun 17 22:40:47 1997 Craig Burley <burley@gnu.ai.mit.edu>
374 * err.c, close.c, rewind.c, inquire.c, backspace.c, endfile.c,
375 iio.c, open.c, Version.c, sfe.c, wsle.c, rsne.c, sue.c, rsfe.c,
376 lread.c, wsfe.c, fio.h, due.c, dfe.c: Change f__init from
377 `flag' to `int' and to signal not just whether initialization
378 has happened (bit 0), but also whether I/O is in progress
379 already (bit 1). Consistently produce a clear diagnostic
380 in cases of recursive I/O. Avoid infinite recursion in
381 f__fatal, in case sig_die triggers another error. Don't
382 output info on internals if not initialized in f__fatal. Don't
383 bother closing units in f_exit if initialization hasn't
386 Tue Jun 10 12:57:44 1997 Craig Burley <burley@gnu.ai.mit.edu>
388 Update to Netlib version of 1997-06-09:
389 * libI77/err.c, libI77/lread.c, libI77/rdfmt.c,
390 libI77/wref.c: Move some #include's around.
392 Mon Jun 9 18:11:56 1997 Craig Burley <burley@gnu.ai.mit.edu>
394 * libU77/kill_.c (kill_): KR_headers version needed
395 `*' in front of args in decls.
397 Sun May 25 03:16:53 1997 Craig Burley <burley@gnu.ai.mit.edu>
399 Update to Netlib version of 1997-05-24:
400 * libF77/README, libF77/Version.c, libF77/main.c,
401 libF77/makefile, libF77/s_paus.c, libF77/signal1.h,
402 libF77/signal_.c, libF77/z_div.c, libI77/Notice,
403 libI77/README, libI77/Version.c, libI77/dfe.c,
404 libI77/err.c, libI77/fmt.c, libI77/makefile,
405 libI77/rawio.h: Apply many, but not all, of the changes
406 made to libf2c since last update.
407 * libF77/Makefile.in (MISC), Makefile.in (MISC): Rename
408 exit.o to exit_.o to go along with Netlib.
409 * libF77/signal.c: Make the prologue much simpler than
412 Sun May 18 20:56:02 1997 Craig Burley <burley@gnu.ai.mit.edu>
414 * libU77/unlink_.c, libU77/stat_.c, libU77/symlnk_.c,
415 libU77/chmod_.c: g_char first arg is const.
417 * libU77/chmod_.c: s_cat expects ftnlen[], not int[] or
418 integer[], change types of array and variables
421 May 7 1997 Daniel Pettet <dan.pettet@bchydro.bc.ca>
423 * libU77/dbes_.c: Commented out the code in the
424 same way the bes* routines are commented out. This
425 was done because corresponding C routines are referenced
426 directly in com-rt.def.
428 Mon May 5 13:56:02 1997 Craig Burley <burley@gnu.ai.mit.edu>
430 * libU77/stat_.c: Reverse KR/ANSI decls of g_char().
432 Apr 18 1997 Daniel Pettet <dan.pettet@bchydro.bc.ca>
434 * libF77/F77_aloc.c, libF77/abort_.c, libF77/derf_.c,
435 libF77/derfc_.c, libF77/ef1asc_.c, libF77/ef1cmc_.c,
436 libF77/erf_.c, libF77/erfc_.c, libF77/exit.c,
437 libF77/getarg_.c, libF77/getenv_.c, libF77/iargc_.c,
438 libF77/s_cat.c, libF77/signal_.c, libF77/system_.c,
439 libI77/close.c, libI77/ftell_.c, libU77/access_.c,
440 libU77/bes.c, libU77/chdir_.c, libU77/chmod_.c, libU77/ctime_.c,
441 libU77/date_.c, libU77/dbes.c, libU77/dtime_.c, libU77/etime_.c,
442 libU77/fdate_.c, libU77/fgetc_.c, libU77/flush1_.c,
443 libU77/fnum_.c, libU77/fputc_.c, libU77/fstat_.c,
444 libU77/gerror_.c, libU77/getcwd_.c, libU77/getgid_.c,
445 libU77/getlog_.c, libU77/getpid_.c, libU77/getuid_.c,
446 libU77/gmtime_.c, libU77/hostnm_.c, libU77/idate_.c,
447 libU77/ierrno_.c, libU77/irand_.c, libU77/isatty_.c,
448 libU77/itime_.c, libU77/kill_.c, libU77/link_.c,
449 libU77/lnblnk_.c, libU77/ltime_.c, libU77/mclock_.c,
450 libU77/perror_.c, libU77/rand_.c, libU77/rename_.c,
451 libU77/secnds_.c, libU77/second_.c, libU77/sleep_.c,
452 libU77/srand_.c, libU77/stat_.c, libU77/symlnk_.c,
453 libU77/system_clock_.c, libU77/time_.c, libU77/ttynam_.c,
454 libU77/umask_.c, libU77/unlink_.c, libU77/vxtidate_.c,
455 libU77/vxttime_.c: Completed renaming routines that are directly
456 callable from g77 to internal names of the form
457 G77_xxxx_0 that are known as intrinsics by g77.
459 Apr 8 1997 Daniel Pettet <dan.pettet@bchydro.bc.ca>
461 * Makefile.in: Add libU77/mclock_.o and libU77/symlnk_.o to UOBJ.
462 * libU77/Makefile.in: Add mclock_.c to SRCS.
463 Add mclock_.o and symlnk_.o to OBJS.
464 Add mclock_.o dependency.
466 Apr 8 1997 Daniel Pettet <dan.pettet@bchydro.bc.ca>
468 * libU77/symlnk_.c: Added a couple of (char*) casts to malloc
469 to silence the compiler.
471 1997-03-17 Dave Love <d.love@dl.ac.uk>
473 * libU77/access_.c, libU77/chdir_.c, libU77/chmod_.c,
474 libU77/link_.c, libU77/lstat_.c, libU77/rename_.c, libU77/stat_.c,
475 libU77/symlnk_.c, libU77/u77-test.f, libU77/unlink_.c: Strip
476 trailing blanks from file names for consistency with other
477 implementations (notably Sun's).
479 * libU77/chmod_.c: Quote the file name given to the shell.
481 Mon Mar 10 00:19:17 1997 Craig Burley <burley@gnu.ai.mit.edu>
483 * libI77/uio.c (do_ud) [PAD_UDread]: Add semicolon to err()
484 invocation when macro not defined (from Mumit Khan
485 <khan@xraylith.wisc.edu>).
487 Fri Feb 28 13:16:50 1997 Craig Burley <burley@gnu.ai.mit.edu>
489 * Version 0.5.20 released.
491 Wed Feb 26 20:28:53 1997 Craig Burley <burley@gnu.ai.mit.edu>
493 * Makefile.in: $(MAKE) invocations now explicitly
494 specify `-f Makefile', just in case the `makefile's
495 from the netlib distribution would get used instead.
497 Mon Feb 24 16:43:39 1997 Craig Burley <burley@gnu.ai.mit.edu>
499 * libU77/Makefile.in (check): Specify driver, and
500 don't bother enabling already-enabled intrinsic groups.
501 Also, get the $(srcdir) version of u77-test.f.
503 Sat Feb 22 14:08:42 1997 Craig Burley <burley@gnu.ai.mit.edu>
505 * libU77/u77-test.f: Explicitly declare intrinsics, get
506 rid of useless CHARACTER declarations on intrinsics (maybe
507 someday appropriate to implement meaning of that in g77
509 Add spin loop just to fatten up the timings a bit.
510 Clarify ETIME output as having three fields.
511 Call TIME with CHARACTER*8, not CHARACTER*6, argument.
512 Call new SECOND intrinsic subroutine, after calling
513 new DUMDUM subroutine just to ensure the correct value
514 doesn't get left around in a register or something.
516 Thu Feb 20 15:22:42 1997 Craig Burley <burley@gnu.ai.mit.edu>
518 * libU77/bes.c: Comment out all the code, as g77 avoids actually
519 calling it, going directly to the system's library instead.
521 Mon Feb 17 02:27:41 1997 Craig Burley <burley@gnu.ai.mit.edu>
523 * libU77/fgetc_.c (fgetc_): Allow return value to be
524 CHARACTER*(*), properly handle CHARACTER*0 and blank-pad
525 CHARACTER*n where n>1.
527 Tue Feb 11 14:12:19 1997 Craig Burley <burley@gnu.ai.mit.edu>
529 * Makefile.in: Clarify role of $(srcdir) here. Fix
530 various targets accordingly. Don't rely at all on
531 gcc/f/include/ being a link to gcc/include/ -- just
533 (${srcdir}/configure, ${srcdir}/libU77/configure):
534 Remove the config.cache files in build directory before
535 cd'ing to source directory as well.
537 * libF77/Makefile.in, libI77/Makefile.in (ALL_CFLAGS):
538 Include `-I.' to pick up build directory.
539 Use gcc/include/ directly.
540 * libU77/Makefile.in (ALL_CFLAGS): Include `-I$(srcdir)'
541 to pick up source directory.
542 (OBJS): Fix typo in `chmod_.o' (was `chmod.o').
544 Mon Feb 10 12:54:47 1997 Craig Burley <burley@gnu.ai.mit.edu>
546 * Makefile.in (UOBJ), libU77/Makefile.in (OBJS): Add
547 libU77/chmod_.o to list of objects.
548 * libU77/chmod_.c: Fix up headers.
549 Fix implementation to not prematurely truncate command
550 string and make room for trailing null.
552 * libU77/ctime_.c: Incoming xstime argument is now longint.
553 * libU77/mclock_.c: Now returns longint.
554 * libU77/time_.c: Now returns longint.
556 1997-02-10 Dave Love <d.love@dl.ac.uk>
558 * etime_.c, dtime_.c: Typo rounded times to seconds.
560 * date_.c: Add missing return.
562 * hostnm_.c: #include unistd.h.
564 Sat Feb 8 03:30:19 1997 Craig Burley <burley@gnu.ai.mit.edu>
566 INTEGER*8 support built in to f2c.h and libf2c (since
567 gcc will be used to compile relevant code anyway):
568 * Makefile.in, libF77/Makefile.in: Add pow_qq.o,
569 qbitbits.o, and qbitshft.o to $POW and $F90BIT macros,
571 * f2c.h.in: Define appropriate types and macros.
572 Place #error directive correctly.
573 * configure.in: Determine appropriate types for long
574 integer (F2C_LONGINT).
575 Meanwhile, quote strings in #error, for consistency.
576 Fix restoring of ac_cpp macro.
577 * configure: Regenerated using autoconf-2.12.
579 * libF77/Version.c, libI77/Version.c, libU77/Version.c:
580 Update version numbers.
581 Change names and code for g77-specific version-printing
582 routines (shorter names should be safer to link on
583 weird, 8-char systems).
585 * libF77/c_cos.c, libF77/c_div.c, libF77/c_exp.c,
586 libF77/c_log.c, libF77/c_sin.c, libF77/c_sqrt.c,
587 libF77/d_cnjg.c, libF77/pow_zi.c, libF77/r_cnjg.c,
588 libF77/z_cos.c, libF77/z_div.c, libF77/z_exp.c,
589 libF77/z_log.c, libF77/z_sin.c, libF77/z_sqrt.c:
590 Changed to work properly even when result is aliased
593 * libF77/makefile, libI77/makefile: Leave these in
594 the g77 distribution, so it is easier to track changes
597 * libF77/signal_.c: Eliminate redundant `return 0;'.
599 * libI77/fio.h (err, errfl): Fix these so they work
600 (and must be expressed) as statements.
601 Fix up many users of err() to include trailing semicolon.
603 * Incorporate changes by Bell Labs to libf2c through 1997-02-07.
605 1997-02-06 Dave Love <d.love@dl.ac.uk>
607 * libU77/etime_.c, libU77/dtime_.c: Fix getrusage stuff.
609 * libU77/config.h.in: Regenerate for HAVE_GETRUSAGE.
611 * libU77/Makefile.in, libI77/Makefile.in, libF77/Makefile.in:
612 Redo *clean targets; distclean and maintainer-clean remove the stage?
613 and include links. This probably want looking at further.
615 Wed Feb 5 00:21:23 1997 Craig Burley <burley@gnu.ai.mit.edu>
617 Add libU77 library from Dave Love <d.love@dl.ac.uk>:
618 * Makefile.in: Add libU77 directory, rules, etc.
619 * configure.in: New libU77 directory, Makefile, etc.
621 * Makefile.in, libF77/Makefile.in, libI77/Makefile.in,
622 libU77/Makefile.in: Reorganize these so $(AR) commands
623 handled by the top-level Makefile instead of the
624 subordinates. This permits it to do $(AR) only when
625 one or more object files actually change, instead of
626 having to force-update it as was necessary before.
627 And that had the disadvantage of requiring, e.g., user
628 root to have access to $(AR) to the library simply to
629 install g77, which might be problematic on an NFS setup.
630 (mostlyclean, clean, distclean, maintainer-clean):
631 Properly handle these rules.
633 * Makefile.in: Don't invoke config.status here -- let
634 compiler-level stuff handle all that.
636 * libI77/err.c [MISSING_FILE_ELEMS]: Declare malloc in this case
637 too, so it doesn't end up as an integer.
639 Sat Feb 1 02:43:48 1997 Craig Burley <burley@gnu.ai.mit.edu>
641 * libF77/Makefile.in: More fixup for $(F90BIT) -- wasn't
642 in list for ar command, and it wasn't correctly listed
643 in the list of things depending on f2c.h.
645 * f2c.h.in: Fix up #error directive.
647 1997-01-31 Dave Love <d.love@dl.ac.uk>
649 * libF77/Makefile.in ($(lib)): Add $(F90BIT); shouldn't exclude
650 stuff f2c needs so we can share the library.
652 Sat Jan 18 19:39:03 1997 Craig Burley <burley@gnu.ai.mit.edu>
654 * configure.in: No longer define ALWAYS_FLUSH, the
655 resulting performance is too low.
657 Wed Dec 18 12:06:02 1996 Craig Burley <burley@gnu.ai.mit.edu>
659 Patch from Mumit Khan <khan@xraylith.wisc.edu>:
660 * libF77/s_paus.c: Add __CYGWIN32__ to list of macros
661 controlling how to pause.
663 Sun Dec 1 21:25:27 1996 Craig Burley <burley@gnu.ai.mit.edu>
665 * configure: Regenerated using autoconf-2.12.
667 Mon Nov 25 21:16:15 1996 Craig Burley <burley@gnu.ai.mit.edu>
669 * configure: Regenerated using autoconf-2.11.
671 1996-11-19 Dave Love <d.love@dl.ac.uk>
673 * libI77/backspace.c: Include sys/types.h for size_t.
675 Wed Nov 6 14:17:27 1996 Craig Burley <burley@gnu.ai.mit.edu>
677 * f2c.h.in: Properly comment out the unsupported stuff so
678 we don't get build-time errors.
680 * libF77/Version.c, libI77/Version.c: Restore macro definition
681 of version information.
683 * libI77/Makefile.in (OBJ): Add ftell_.o to list of objects.
685 * libI77/uio.c (do_ud): Fix up casts in PAD_UDread case just
686 like they were fixed in the other case.
688 Thu Oct 31 22:27:45 1996 Craig Burley <burley@gnu.ai.mit.edu>
690 * libI77/ftell_.c (fseek_): Map incoming whence argument to
691 system's actual SEEK_CUR, SEEK_SET, or SEEK_END macro for
692 fseek(), and crash (gracefully) if the argument is invalid.
694 1996-10-19 Dave Love <d.love@dl.ac.uk>
696 * configure.in: Add check that we have the tools to cross-compile
698 (NO_EOF_CHAR_CHECK,Skip_f2c_Undefs): Define.
700 * libF77/Makefile.in (F90BIT): New routines from Netlib.
703 Use more sanitary #error (indented for K&R compliance if necessary) if
705 Sync with Netlib: Add `uninteger'. (Commented out) integer*8 stuff.
706 bit_{test,clear,set} macros.
708 1996-10-19 Dave Love <d.love@dl.ac.uk>
710 Update to Netlib version of 1996-09-26.
712 * libI77/Version.c: Use <stdio.h>, not "stdio.h".
713 * libF77/Version.c: Likewise.
715 Wed Aug 28 13:25:29 1996 Dave Love <d.love@dl.ac.uk>
717 * libI77/rsne.c (x_rsne): Use size_t instead of int.
719 * libI77/endfile.c (copy): Use size_t in place of int.
721 Wed Aug 28 13:22:20 1996 Dave Love <d.love@dl.ac.uk>
723 * libI77/backspace.c (f_back): Cast fread arg to size_t.
725 Tue Aug 27 19:11:30 1996 Dave Love <d.love@dl.ac.uk>
727 * libI77/Version.c: Supply */ to avoid apparent nested comment.
729 Tue Aug 20 09:21:43 1996 Dave Love <d.love@dl.ac.uk>
731 * libF77/Makefile.in (ALL_CFLAGS): Fix missing ../ for include.
732 * libI77/Makefile.in (ALL_CFLAGS): Likewise.
734 Sat Aug 17 13:00:47 1996 Dave Love <d.love@dl.ac.uk>
736 * (libF77/qbitshft.c, libF77/qbitbits.c, libF77/lbitshft.c,
737 libF77/lbitbits.c): New file from Netlib. qbit... not currently
740 Sun Jul 7 18:06:33 1996 Dave Love <d.love@dl.ac.uk>
742 * libF77/z_sqrt.c, libF77/z_sin.c, libF77/z_exp.c, libF77/z_log.c,
743 libF77/system_.c, libF77/z_cos.c, libF77/signal_.c,
744 libF77/s_stop.c, libF77/sig_die.c, libF77/s_paus.c,
745 libF77/s_rnge.c, libF77/s_cat.c, libF77/r_tan.c, libF77/r_tanh.c,
746 libF77/r_sinh.c, libF77/r_sqrt.c, libF77/r_sin.c, libF77/r_mod.c,
747 libF77/r_nint.c, libF77/r_lg10.c, libF77/r_log.c, libF77/r_exp.c,
748 libF77/r_int.c, libF77/r_cosh.c, libF77/r_atn2.c, libF77/r_cos.c,
749 libF77/r_asin.c, libF77/r_atan.c, libF77/r_acos.c,
750 libF77/pow_dd.c, libF77/pow_zz.c, libF77/main.c, libF77/i_dnnt.c,
751 libF77/i_nint.c, libF77/h_dnnt.c, libF77/h_nint.c, libF77/exit.c,
752 libF77/d_tan.c, libF77/d_tanh.c, libF77/d_sqrt.c, libF77/d_sin.c,
753 libF77/d_sinh.c, libF77/d_mod.c, libF77/d_nint.c, libF77/d_log.c,
754 libF77/d_int.c, libF77/d_lg10.c, libF77/d_cosh.c, libF77/d_exp.c,
755 libF77/d_atn2.c, libF77/d_cos.c, libF77/d_atan.c, libF77/d_acos.c,
756 libF77/d_asin.c, libF77/c_sqrt.c, libF77/cabs.c, libF77/c_sin.c,
757 libF77/c_exp.c, libF77/c_log.c, libF77/c_cos.c, libF77/F77_aloc.c,
758 libF77/abort_.c, libI77/xwsne.c, libI77/wref.c, libI77/util.c,
759 libI77/uio.c, libI77/rsne.c, libI77/rdfmt.c, libI77/rawio.h,
760 libI77/open.c, libI77/lread.c, libI77/inquire.c, libI77/fio.h,
761 libI77/err.c, libI77/endfile.c, libI77/close.c:
762 Use #include <...>, not #include "..." for mkdeps
764 Sat Jul 6 21:39:21 1996 Dave Love <d.love@dl.ac.uk>
766 * libI77/ftell_.c: Added from Netlib distribution.
768 Sat Mar 30 20:57:24 1996 Dave Love <d.love@dl.ac.uk>
770 * configure.in: Eliminate explicit use of
771 {RANLIB,AR}_FOR_TARGET.
772 * Makefile.in: Likewise.
773 * libF77/Makefile.in: Likewise.
774 * libI77/Makefile.in: Likewise.
775 * configure: Regenerated.
777 Sat Mar 30 21:02:03 1996 Dave Love <d.love@dl.ac.uk>
779 * Makefile.in: Eliminate explicit use of
780 {RANLIB,AR}_FOR_TARGET.
782 Tue Mar 26 23:39:59 1996 Dave Love <d.love@dl.ac.uk>
784 * Makefile.in: Remove hardwired RANLIB and RANLIB_TEST (unnoted
787 Mon Mar 25 21:04:56 1996 Craig Burley <burley@gnu.ai.mit.edu>
789 * Incorporate changes by Bell Labs to libf2c through 1996-03-23,
790 including changes to dmg and netlib email addresses.
792 Tue Mar 19 13:10:02 1996 Craig Burley <burley@gnu.ai.mit.edu>
794 * Incorporate changes by AT&T/Bellcore to libf2c through 1996-03-19.
796 * Makefile.in (rebuilt): New target.
798 * lib[FI]77/Makefile.in: Use $AR_FOR_TARGET, not $AR.
800 Tue Mar 19 12:53:19 1996 Dave Love <d.love@dl.ac.uk>
802 * configure.in (ac_cpp): #include <stdio.h> instead
805 Tue Mar 19 12:52:09 1996 Mumit Khan <khan@xraylith.wisc.edu>
807 * configure.in (ac_cpp): For f2c integer type,
808 add -I$srcdir/../.. to make it work on mips-ultrix4.2.
810 Sat Mar 9 17:37:15 1996 Craig Burley <burley@gnu.ai.mit.edu>
812 * libI77/Makefile.in (.c.o): Add -DAllow_TYQUAD, to enable
813 I/O support for INTEGER*8.
814 * f2c.h.in: Turn on longint type.
816 Fri Dec 29 18:22:01 1995 Craig Burley <burley@gnu.ai.mit.edu>
818 * Makefile.in: Reorganize the *clean rules to more closely
821 * lib[FI]77/Makefile.in: Ignore error from $(AR) command,
822 in case just doing an install and installer has no write
823 access to library (this is a kludge fix -- perhaps install
824 targets should never try updating anything?).
826 Sat Nov 18 19:37:22 1995 Craig Burley (burley@gnu.ai.mit.edu)
828 * Version 0.5.17 released.
830 Thu Nov 16 07:20:35 1995 Craig Burley (burley@gnu.ai.mit.edu)
832 * Incorporate changes by AT&T/Bellcore to libf2c through 1995-11-15.
834 Fri Sep 22 02:19:59 1995 Craig Burley (burley@gnu.ai.mit.edu)
836 * libI77/backspace.c, libI77/close.c, libI77/endfile.c,
837 libI77/fio.h, libI77/inquire.c, libI77/rawio.h,
838 libF77/s_paus.c: Not an MSDOS system if GO32
839 is defined, in the sense that the run-time environment
840 is thus more UNIX-like.
842 Wed Sep 20 02:24:51 1995 Craig Burley (burley@gnu.ai.mit.edu)
844 * libF77/Makefile.in, libI77/Makefile.in: Comment out `ld -r -x'
845 and `mv' line pairs, since `-x' isn't supported on systems
846 such as Solaris, and these lines don't seem to do anything
849 Wed Aug 30 15:58:35 1995 Craig Burley (burley@gnu.ai.mit.edu)
851 * Version 0.5.16 released.
853 * Incorporate changes by AT&T/Bellcore to libf2c through 950829.
855 Mon Aug 28 12:50:34 1995 Craig Burley (burley@gnu.ai.mit.edu)
857 * libF77/Makefile.in, libI77/Makefile.in ($(lib)): Force ar'ing
858 and ranlib'ing of libf2c.a, else after rm'ing libf2c.a and
859 doing a make, only libI77 or libF77 would be added to
860 the newly created archive.
861 Also, instead of `$?' list all targets explicitly so all
862 objects are updated in libf2c.a even if only one actually
863 needs recompiling, for similar reason -- we can't easily tell
864 if a given object is really up-to-date in libf2c.a, or even
867 Sun Aug 27 14:54:24 1995 Craig Burley (burley@gnu.ai.mit.edu)
869 * libF77/Makefile.in, libI77/Makefile.in: Fix spacing so
870 initial tabs are present in all appropriate places.
871 Move identical $(AR) commands in if then/else clauses
872 to single command preceding if.
873 (.c.o, Version[FI].o): Use $@ instead of $* because AIX (RS/6000)
874 says $@ means source, not object, basename, and $@ seems to work
877 Wed Aug 23 15:44:25 1995 Craig Burley (burley@gnu.ai.mit.edu)
879 * libF77/system_.c (system_): Declare as returning `ftnint',
880 consistent with signal_, instead of defaulting to `int'.
881 Hope dmg@research.att.com agrees, else probably will
882 change to whatever he determines is correct (and change
885 Thu Aug 17 08:46:17 1995 Craig Burley (burley@gnu.ai.mit.edu)
887 * libI77/rsne.c (s_rsne): Call f_init if not already done.
889 Thu Aug 17 04:35:28 1995 Craig Burley (burley@gnu.ai.mit.edu)
891 * Incorporate changes by Bellcore to libf2c through 950817.
892 And this text is for EMACS: (foo at bar).
894 Wed Aug 16 17:33:06 1995 Craig Burley (burley@gnu.ai.mit.edu)
896 * libF77/Makefile.in, libI77/Makefile.in (CFLAGS): Put -g1
897 after configured CFLAGS but before GCC_CFLAGS, so by default
898 the libraries are built with minimal debugging information.
900 Fri Jul 28 10:30:15 1995 Dave Love <d.love@dl.ac.uk>
902 * libI77/open.c (f_open): Call f_init if not already done.
904 Sat Jul 1 19:31:56 1995 Craig Burley (burley@gnu.ai.mit.edu)
906 * libF77/system_.c (system_): Make buff one byte bigger so
907 following byte doesn't get overwritten by call with large
910 Tue Jun 27 23:28:16 1995 Craig Burley (burley@gnu.ai.mit.edu)
912 * Incorporate changes by Bellcore to libf2c through 950613.
914 * libF77/Version.c (__G77_LIBF77_VERSION__): Add this string
915 to track g77 mods to libf2c.
917 * libI77/Version.c (__G77_LIBI77_VERSION__): Add this string
918 to track g77 mods to libf2c.
920 * libI77/rawio.h: #include <rawio.h> only conditionally,
921 using macro intended for that purpose.
923 Fri May 19 11:20:00 1995 Craig Burley (burley@gnu.ai.mit.edu)
925 * configure.in: Incorporate change made by d.love,
927 * configure: Regenerated.
929 Wed Apr 26 21:08:57 BST 1995 Dave Love <d.love@dl.ac.uk>
931 * configure.in: Fix quoting problem in atexit check.
933 * configure: Regenerated (with current autoconf).
935 Wed Mar 15 12:49:58 1995 Craig Burley (burley@gnu.ai.mit.edu)
937 * Incorporate changes by Bellcore to libf2c through 950315.
939 Sun Mar 5 18:54:29 1995 Craig Burley (burley@gnu.ai.mit.edu)
941 * README: Tell people not to read lib[fi]77/README.
943 Wed Feb 15 14:30:58 1995 Craig Burley (burley@gnu.ai.mit.edu)
945 * configure.in: Update copyright notice at top of file.
947 * f2c.h.in (f2c_i2): Make sure defining this crashes compilations.
949 * libI77/Makefile.in (F2C_H): Fix typo in definition of this
950 symbol (was FF2C_H=...).
952 Sun Feb 12 13:39:36 1995 Craig Burley (burley@gnu.ai.mit.edu)
954 * README: Remove some obsolete items.
959 Sat Feb 11 22:07:54 1995 Craig Burley (burley@gnu.ai.mit.edu)
961 * Makefile.in (libf77, libi77): Add rules to .PHONY list.
963 * f2c.h.in (flag): Make same type as friends.
965 * libF77/Makefile.in (libf77): Rename to $(lib), remove from
966 .PHONY list. Fix some typos.
968 * libI77/Makefile.in (libi77): Rename to $(lib), remove from
969 .PHONY list. Fix some typos.
971 Thu Feb 2 12:22:41 1995 Craig Burley (burley@gnu.ai.mit.edu)
973 * Makefile.in (libF77/Makefile): Fix typos in this rule's name
976 * libF77/Makefile.in (libf77): Add rule to .PHONY list.
978 * libI77/Makefile.in (libi77): Add rule to .PHONY list.