next up previous 252
Next: Rationale for Mixed Language Programming
Up: Implementation Specific Details
Previous: Global Data


Other Operating Systems

The F77 macros have been designed to cope with other systems as far as is possible. It should be possible to modify the include file f77.h to cope with most computers. The places where this may prove difficult, or even impossible, are likely to be due to arguments being passed in an unforeseen way.

The include file also declares the functions used for handling character strings. The declarations are written as function prototypes and assume that the C compiler will handle this feature of ANSI C. If a particular C compiler does not support this feature, then the header file could easily be modified to take this into account.



next up previous 252
Next: Rationale for Mixed Language Programming
Up: Implementation Specific Details
Previous: Global Data

CNF and F77 Mixed Language Programming -- FORTRAN and C
Starlink User Note 209
P.M. Allan
A.J. Chipperfield
R.F. Warren-Smith
19 January 2000
E-mail:ussc@star.rl.ac.uk