Bindings generation

The basic command line for creating the FORTRAN 77 stubs for a SIDL file (called ``file.sidl'') is 9.1$:$

% babel -exclude-external -client=f77 file.sidl
or simply
% babel -E -c=f77 file.sidl

The command results in the creation of a makefile fragment, called babel.make, numerous C header and source files, and some FORTRAN 77 files. Files ending in _fStub.c are the FORTRAN 77 stubs that allow FORTRAN 77 to call a SIDL method. These files (i.e. those listed in STUBSRCS in babel.make), need to be compiled and linked into the application.

Normally, IOR files (i.e., those ending in _IOR.c) are linked together with the implementation file, so do not need to be compiled. Files with the .fif extension are documentation for FORTRAN 77 programmers showing how the class and interface would have been defined if they were implemented in FORTRAN 77. Consequently, .fif files are only for reference, so should not be compiled.



babel-1.4.0
users_guide Last Modified 2008-10-16

http://www.llnl.gov/CASC/components
components@llnl.gov