This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: getc_ undefined
- To: moeri at dma dot epfl dot ch
- Subject: Re: getc_ undefined
- From: Craig Burley <burley at gnu dot org>
- Date: Tue, 23 Jun 1998 17:56:13 -0400 (EDT)
- CC: egcs at cygnus dot com
>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)