This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: f77 patch for hostname
- To: robertl at dgii dot com
- Subject: Re: f77 patch for hostname
- From: Craig Burley <burley at gnu dot org>
- Date: Tue, 7 Jul 1998 10:08:26 -0400 (EDT)
- CC: egcs-patches at cygnus dot com, d dot love at dl dot ac dot uk
>* libU77/configure.in: Look for -lsocket, add to LIBS if found.
> libU77/Makefile: Use LIBS from above.
I'm just curious -- I see a new definition for a `lib' macro in
your patch, but no use for it, and can't find such a use in my
(slightly old) snapshot of egcs. Presumably it's for the `check'
target. (Maybe somebody else, like Dave Love, has already modified
that to pass `lib' down, etc.?)
Also, does this fix imply we should do something about getting
the g77 driver to automatically provide `-lsocket' on the command
line, e.g. `-lg2c -lsocket -lm' or `-lg2c -lm -lsocket' if such
a library exists?
If so, if someone can take care of getting the information from
configuring into g77.c, I can take care of modifying g77.c to
add the library (or libraries, e.g. maybe `-lc' is another one
we should consider) myself.
tq vm, (burley)