This is the mail archive of the gcc@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: getc_ undefined


>I'm trying to link a f77 program with egcs-19980621 installed in /usr/local. Linkage fails with an undefined reference to getc_. What should I do ??

g77 doesn't provide an intrinsic or a library procedure named GETC.
If you want it to be like C's getc(), then you can either implement
it yourself, or just change your code to use FGETC instead (read the
relevant docs to find out how to do that).  g77 does provide FGETC
as an intrinsic.

        tq vm, (burley)


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