
###########################################################

Here in /midas/version/libsrc/ftoc-old
are the old Midas Fortran to C interfaces which do not work 
anymore with the GNU compiler gcc from version 4.0 on (i.e. 2006)!

Use the interfaces stored in /midas/version/libsrc/ftoc-new instead
(/midas/version/libsrc/ftoc should be a soft link to it).

In all other library directories with abc.fc files, the new version
named abc-2.fc should be copied to abc.fc 

However, all this should be done automatically during the installation
of Midas...


###########################################################


Fortran to C interface layer as follows:

----------------- TABLE FORTRAN to C Interface Routines ----------------

TZC.C            - FORTRAN to C interface lower level
TZD.C 
TZE.C 
TZM.C 
TZR.C 
TZT.C  

TBC_NOLEN.FOR      - FORTRAN to C interface upper level
TBD_NOLEN.FOR        character length as explicit parameter
TBE_NOLEN.FOR        used for MicroVax, Sun
TBM_NOLEN.FOR
TBR_NOLEN.FOR
TBT_NOLEN.FOR

TBC_ADLEN.FOR     - FORTTRAN to C interface upper level 
TBD_ADLEN.FOR       character length is NOT a explicit parameter
TBE_ADLEN.FOR       used for HP
TBM_ADLEN.FOR
TBR_ADLEN.FOR
TBT_ADLEN.FOR


Either TBx_NOLEN.FOR or TBx_ADLEN.FOR have to be copied to TBx.FOR !!!


TXC.FOR          - OLD table routines, F77 version
TXD.FOR
TXE.FOR
TXM.FOR
TXR.FOR
TXT.FOR

TBLC.FOR        - OLD table routines, VAX FORTRAN version
TBLD.FOR
TBLE.FOR
TBLR.FOR
TBLT.FOR

TBLFTOC.C       - version 0:  TBxxxx        -> TCxxxx



------------  STANDARD FORTRAN to C Interface Routines (KB 880916) ----------

SZC.C1            - FORTRAN to C interface lower level
SZD.C1              length parameter follows each char. parameter
SZE.C1
SZF.C1
SZI.C1 
SZK.C1
SZST.C1

SZC.C2            - FORTRAN to C interface lower level
SZD.C2              length parameters added in the end of parameter list
SZE.C2
SZF.C2
SZI.C2 
SZK.C2
SZST.C2

Either SCx.C1 or SCx.C2 have to be copied to SCx.C  !!!


STC_NOLEN.FOR      - FORTRAN to C interface upper level
STD_NOLEN.FOR        character length passed explicitely in the code
STE_NOLEN.FOR        used for VAX/VMS with SZn.C1 routines
STF_NOLEN.FOR
STI_NOLEN.FOR
STK_NOLEN.FOR
STST_NOLEN.FOR

STC_ADLEN.FOR      - FORTRAN to C interface upper level
STD_ADLEN.FOR        character length provided by the compiler
STE_ADLEN.FOR        used for MicroVax, Sun with SZn.C2 routines
STF_ADLEN.FOR        used for HP with SZn.C1 routines
STI_ADLEN.FOR
STK_ADLEN.FOR
STST_ADLEN.FOR


Either STx_NOLEN.FOR or STx_ADLEN.FOR have to be copied to STx.FOR !!!


SXD.FOR          - OLD standard interfaces, F77 version
SXE.FOR          no SXC routines, since they were not standard before...
SXF.FOR
SXI.FOR
SXK.FOR
SXST.FOR


 
----------------- General FORTRAN to C Interfaces (KB 880414) ----------

GZNFTOC.C1           - FORTRAN to C interface lower level
                     length parameters after each char. parm

GZNFTOC.C2           - FORTRAN to C interface lower level
                     length parameters added in the end of parameter list

GEN_NOLEN.FOR        - FORTRAN to C interface upper level
                     character length passed explicitely in the code

GEN_ADLEN.FOR        - FORTRAN to C interface upper level
                     character length passed by the compiler


-------------------------------------------------------------------

