Print

Print


All,

We have some library routines written in C that we were able to call
from Fortran 77 using Pragma to inform the compiler that a function call
is a call to a C language function.  For example:

      INTEGER*2 CLISAM        ! C function
      EXTERNAL CLISAM        !$Pragma C (CLISAM)
       .
       .
       I2ERR = CLISAM( )

We have recently upgraded to an EPC Fortran-90 compiler, Version 1.5.
The above code does not work.  Does anyone know what I need to do?  I
suspect that I can use the INTERFACE statement, but I have not be able
to find any examples.

Thanks in advance for a prompt reply.

-Ross Pittman





%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%