This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: G77_flush
- To: bednarb at 3dbee dot com
- Subject: Re: G77_flush
- From: craig at jcb-sc dot com
- Date: 22 Feb 1999 16:39:32 -0000
- Cc: egcs-bugs at cygnus dot com
- Cc: craig at jcb-sc dot com
- References: <36D172DC.D56B038B@3dbee.com>
>I have a Fortran subroutine that links fine with f2c, but with
>egcs version 1.0.3a-14 the linker cannot find G77_flush or G77_getargs.
Either use `EXTERNAL FLUSH, GETARGS' anywhere you invoke them as
intrinsics, or, generally better, upgrade to egcs 1.1.1 and make
sure you link against libg2c (g77's version of libf2c, renamed),
by using the egcs 1.1.1 g77 command (or explicitly using `-lg2c -lm')
to link your code.
The g77 docs in egcs 1.1.1 should offer more details.
tq vm, (burley)