Idea: Eliminate libf2c/f2c.h installation from g77 entirely?
Dave Love
d.love@dl.ac.uk
Sun Apr 19 05:18:00 GMT 1998
I don't understand this discussion (again). libf2c.a and f2c.h were
installed outside the gcc tree to avoid an f2c installation screwing
g77, not to help f2c. What's changed to avoid this? I don't think
anything has on my GNU box. (gcc will prefer stuff in /usr/local.)
I think the way to avoid conflicts is renaming of the g77 version.
Linking f2c-generated C would still work as well by doing the job with
the `g77' program if that would still compile other languages than
Fortran. (That's what I do with the non-egcs version when I test f2c
stuff.)
(The correct) f2c.h is necessary or, IMHO should be used, if you write
g77-callable C.
AFAIR at one time what happened about installing was controlled by a
configure option, but it was tricky to implement and fragile in the
gcc 2.7 framework.
Sorry I missed the lossage with the current f2c (non-)installation.
More information about the Gcc
mailing list