public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* getc_ undefined
@ 1998-06-23  9:29 Nicolas Moeri
  1998-06-23 14:56 ` Craig Burley
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Moeri @ 1998-06-23  9:29 UTC (permalink / raw)
  To: egcs

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 ??

--------------------------------------------------------------------
Moeri Nicolas
ROSO - Prof Liebling - DMA - EPFL
CH-1015 Lausanne, Suisse
tel: (+41 21) 693 42 44, email: moeri@dma.epfl.ch



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: getc_ undefined
  1998-06-23  9:29 getc_ undefined Nicolas Moeri
@ 1998-06-23 14:56 ` Craig Burley
  0 siblings, 0 replies; 2+ messages in thread
From: Craig Burley @ 1998-06-23 14:56 UTC (permalink / raw)
  To: moeri; +Cc: egcs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-06-23 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-23  9:29 getc_ undefined Nicolas Moeri
1998-06-23 14:56 ` Craig Burley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).