|
|
||||||||||||||||||||
|
To call module library from C-programs: To interface with fortran modules the Fortran environment has to be initialized. Call the initilization this way: void g95_runtime_start(int argc, char *argv[]); The arguments are argc=0 and argv=NULL. At program termination the runtime environment must be closed this way: void g95_runtime_stop(); To call the modules from C-programs add a leading underscore to the module names. You will find further informations in the G95 description, if necessary. |
|
|
|
All output to stdout leads in one customizable module: #include <stdio.h> If necessary ou will find more information in the G95 description. |