Fix problems with using f2c.e/f77.sh on plain Fortran files #370
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This reverts 2dee32c
While the patch successfully fixes the problem with equivalencies, it brings other problems; namely that standard FORTRAN I/O doesn't work anymore, as reported in #369.
Equivalencies are not used in IRAF, while standard FORTRAN I/O is used by people interacting with IRAF.
The f2c maintainer (David M. Gay) was contacted to find a proper solution for the original problem described in iraf-v216/iraf#107, and he provided an updated version 20240130, which is included in this PR. The other major change in this version is that there is a command line flag "-cw" to reduce the info output of f2c. This removed another patch in IRAF which did the same unconditionally.
Also included is a small fix that made the output of a failing f2c disappear when the "-w" flag was used, and a fix that removes duplicate linking of f2c on host programs.