f77 patch for hostname

Dave Love d.love@dl.ac.uk
Mon Jul 6 03:03:00 GMT 1998


>>>>> "Robert" == Robert Lipe <robertl@dgii.com> writes:

 Robert> Even though a toplevl 'make check' runs a g77 library testsuite,
 Robert> failures in it don't show up becuase they're not dejagnu
 Robert> tests.

Yes.  The trouble is that testing the `U77' part of the library
doesn't look like something one can automate reliably, though probably
what's there (mainly slung together for my benefit when writing the
stuff) could be tidied up.

 Robert> Some systems (SCO Unix, SCO OpenServer, and I'm pretty sure
 Robert> that "most" SVR4's, though I could be wrong) require you to
 Robert> link against -lsocket if you expect to find gethostname or
 Robert> related functions.

I wonder why no-one else has tripped over that...  (I don't think it's
so on Irix or Solaris, which are the only SVR4ish I know.)

 Robert> This fixes is in the library and the testsuite.

Thanks.  I'll deal with it along with some other libf2c stuff pending
Craig's approval.



More information about the Gcc-patches mailing list