This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: f77 patch for hostname


>>>>> "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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]