OSDN Git Service

Sat Jun 13 03:46:40 1998 Craig Burley <burley@gnu.org>
[pf3gnuchains/gcc-fork.git] / libf2c / README
1 1998-04-20
2
3 This directory contains the f2c library packaged for use with g77 to configure
4 and build automatically (in principle!) as part of the top-level configure and
5 make steps.  This depends on the makefile and configure fragments in ../f.
6 g77 names this library `libg2c' to avoid conflict with existing copies
7 of `libf2c' on a system.
8
9 Some small changes have been made to the f2c distributions of lib[FI]77 which
10 come from <ftp:bell-labs.com/netlib/f2c/> and are maintained (excellently) by
11 David M. Gay <dmg@bell-labs.com>.  See the Notice files for copyright
12 information.  I'll try to get the changes rolled into the f2c distribution.
13
14 Files that come directly from netlib are either maintained in the
15 gcc/f/runtime/ directory under their original names or, if they
16 are not pertinent for g77's version of libf2c, under their original
17 names with `.netlib' appended.  For example, gcc/f/runtime/permissions.netlib
18 is a copy of f2c's top-level`permissions' file in the netlib distribution.
19 In this case, it applies only to the relevant portions of the libF77/ and
20 libI77/ directories; it does not apply to the libU77/ directory, which is
21 distributed under different licensing arrangements.  Similarly,
22 the `makefile.netlib' files in libF77/ and libI77/ are copies of
23 the respective `makefile' files in the netlib distribution, but
24 are not used when building g77's version of libf2c.
25
26 The `README.netlib' files in libF77/ and libI77/ thus might be
27 interesting, but should not be taken as guidelines for how to
28 configure and build libf2c in g77's distribution.
29
30 The packaging for auto-configuration was done by Dave Love <d.love@dl.ac.uk>.
31 Minor changes have been made by James Craig Burley <burley@gnu.org>,
32 who probably broke things Dave had working.  :-)
33
34 Among the user-visible changes (choices) g77 makes in its
35 version of libf2c:
36
37 -  f2c.h configured to default to padding unformatted direct reads
38    (#define Pad_UDread), because that's the behavior most users
39    expect.
40
41 -  f2c.h configured to default to outputting leading zeros before
42    decimal points in formatted and list-directed output, to be compatible
43    with many other compilers (#define WANT_LEAD_0).  Either way is
44    standard-conforming, however, and you should try to avoid writing
45    code that assumes one format or another.
46
47 -  dtime_() and etime_() are from Dave Love's libU77, not from
48    netlib's libF77.