GNU Info

Info Node: (g77-295.info)C Interfacing Tools

(g77-295.info)C Interfacing Tools


Next: C Access to Type Information Up: Interoperating with C and C++
Enter node , (file) or (file)node

C Interfacing Tools
-------------------

   Even if you don't actually use it as a compiler, `f2c' from
`ftp://ftp.netlib.org/f2c/src', can be a useful tool when you're
interfacing (linking) Fortran and C.  Note: Generating Skeletons and
Prototypes with `f2c'.

   To use `f2c' for this purpose you only need retrieve and build the
`src' directory from the distribution, consult the `README'
instructions there for machine-specifics, and install the `f2c' program
on your path.

   Something else that might be useful is `cfortran.h' from
`ftp://zebra/desy.de/cfortran'.  This is a fairly general tool which
can be used to generate interfaces for calling in both directions
between Fortran and C.  It can be used in `f2c' mode with
`g77'--consult its documentation for details.


automatically generated by info2www version 1.2.2.9