Silicon Graphics IRIS Workstation User Manual page 112

Table of Contents

Advertisement

EXTCENTRY(1)
NAME
extcentry - extract FORTRAN-callable entry points from a C file
SYNOPSIS
extcentry infile outfile
DESCRIPTION
extcentry is used to extract C functions for which FORTRAN-callable interface
routines (wrappers) are to be generated by the program mkf2c. extcentry
accepts as input any C file (infile), and outputs (to outfile) only those portions
which are surrounded by the special comments /* CENTRY */ and /* END-
CENTRY */.
The first step in generating a FORTRAN-to-C interface routine is to surround
only those C functions for which entry points are to be generated by these
special comments and to run the file through extcentry. The FORTRAN-to-C
intertace generator program mkf2c(1) can then be invoked on the resultant
file to generate the assembly language wrapper. This is necessary since
mkf2c(1) understands only a limited subset of the C grammar, and cannot
parse such constructs as external declarations, typedefs, and C-preprocessor
directives.
FILES
/usr/bin/extcentry C-shell script
SEE ALSO
FORTRAN REFERENCE MANUAL
mkf2c(1)
Version 1.0
Silicon Graphics
- 1 -
EXTCENTRY(1)
October 1984

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IRIS Workstation and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents