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


>* 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)


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