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


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


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