summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/f/gbe/README
blob: 1752b600aedba26040437c165d490290599a0a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
961207

This directory contains .diff files for various GNU CC distributions
supported by this version of GNU Fortran.

The name of a file includes which gcc version to which it applies.
For example, 2.7.2.1.diff is the patch file for gcc version 2.7.2.1.

To apply a .diff file to, say, gcc 2.7.2, one might use the following
command (where the current directory contains the gcc source distribution
after merging into it the g77 source distribution, which would be
named gcc-2.7.2 in this example):

    patch -p1 -d gcc-2.7.2 < gcc-2.7.2/f/gbe/2.7.2.diff


This version of g77 is best combined with gcc versions 2.7.2 or 2.7.2.1.

However, note that applying the patch for version 2.7.2.1
does _not_ update the gcc.info* files that constitute the Info
documentation for gcc.  Therefore, after applying the 2.7.2.1.diff
patch to the gcc-2.7.2.1 source directory, you must rebuild the
Info documentation yourself via:

  cd gcc-2.7.2.1; make -f Makefile.in gcc.info

If the above command doesn't work because you don't have makeinfo
installed, you are STRONGLY encouraged to obtain the most recent
version of the GNU texinfo package (texinfo-3.9.tar.gz as of this
writing), build, and install it, then try the above command (as
makeinfo is part of texinfo).

(The 2.7.2.1 patch omits the gcc.info* patches because your gcc-2.7.2.1
might have one of at least two different versions of these gcc.info*
files, depending on how you obtained the gcc source directory -- by
unpacking gcc-2.7.2.1.tar.gz directly, or by applying a patch to upgrade
a copy of gcc-2.7.2.)

This distribution of g77 is not supported for versions of gcc prior
to 2.6.2.  The 2.6.3 patch file should work for version 2.6.2, but
you should probably use gcc-2.6.3 in any case if that is possible.

If you are using a version of gcc more recent than the most
recent .diff file's version, try the most recent .diff ONLY
if the difference is in the third field.  E.g. the above
patch might work on gcc-2.7.3 or gcc-2.7.4 if these were
released.  On the other hand, it probably wouldn't work for
a more major release like gcc-2.8.0 or gcc-3.0.0, and you
shouldn't try it.  If the .diff file is missing, don't bother
asking `fortran@gnu.ai.mit.edu' for it -- it is certainly
being worked on.  In the meantime, watch the usual place
(`info -f g77') for information on support for the recent
versions of gcc.