First, let me say that I am definitely not a Fortran expert so this question may be dumb.
I am trying to compile some code that was last compiled with compaq visual fortran (this is some fortran 77 code). In this code I call some C routines. It looks like my declarations for these external routines may have been specific to the compaq compiler. Here is what one of these declarations looks like:
C ------------------------------------------------------------------
C Declare the C function
INTERFACE
SUBROUTINE mfLib_U2DREL(SUCCESS, IPRN, II, JJ, A, CNTRL)
!DEC$ATTRIBUTES ALIAS:“_mfLib_U2DREL”::mfLib_U2DREL
INTEGER SUCCESS [REFERENCE]
INTEGER IPRN [REFERENCE]
INTEGER II [REFERENCE]
INTEGER JJ [REFERENCE]
DIMENSION A ()
CHARACTER200 CNTRL [REFERENCE]
END SUBROUTINE mfLib_U2DREL
END INTERFACE
Can some one point me to a resource on how to do this correctly?