(970922) install-f2c-header problem and suggestion
Jeffrey A Law
law@cygnus.com
Tue Sep 30 22:20:00 GMT 1997
In message < rzqhgb4dpf1.fsf@djlvig.dl.ac.uk >you write:
> Jeffrey> But isn't that purpose served by putting a copy into
> Jeffrey> $(libsubdir)/include?
>
> Yes, but you particularly want to avoid g77 finding the wrong f2c.h
> and libf2c in (say) /usr/local/{include,lib} from an f2c installation.
Ahhh. And this is the key.
Last I checked gcc would pick up stuff from /usr/local/include before
its own private dir.
So the question now becomes is being consistent internally (ie if
you use --prefix, then egcs shouldn't be scribbling elsewhere in
your filesystem) more important than making things work if someone
has already installed f2c?
If we choose the former, then the separate f2c and libf2c installs
are unnecessary and can simply be removed.
If we choose the latter, then the code as it exists is correct.
I personally lean towards the former choice, but if the Fortran
folks think the latter is more important then I can live with it.
Ball's in your court Dave & Craig.
jeff
More information about the Gcc
mailing list