f77 patch for hostname

Dave Love d.love@dl.ac.uk
Tue Jul 7 09:51:00 GMT 1998


>>>>> "Craig" == Craig Burley <burley@gnu.org> writes:

 Craig> I'm just curious -- I see a new definition for a `lib' macro
 Craig> in your patch, but no use for it, and can't find such a use in
 Craig> my (slightly old) snapshot of egcs.

It was there (a fossil, I think), but I made it LIBS for consistency.
I should have bundled up the final patch for you, but have been trying
to get time to make libf2c rebuild properly; will do soon.  (Sorry for
installing it directly, but it seemed uncontentious and was in the
way.)

 Craig> Also, does this fix imply we should do something about getting
 Craig> the g77 driver to automatically provide `-lsocket' on the
 Craig> command line, e.g. `-lg2c -lsocket -lm' or `-lg2c -lm
 Craig> -lsocket' if such a library exists?

I thought it best just to document the possible need for linking it
explicitly on the (presumably rather rare) occasions people call
hostnm on the relevant systems.



More information about the Gcc-patches mailing list