data sharing between c++ shared object and Fortran shared object
I am using debian sqeeze 6.0 to develop(migrating windows version) a simulation tool.
In my application i need to use two shared objects, one is c++ shared object compiled with gcc and the other is fortran shared object compiled with gfortran.
C++ shared object is having a data structure defined to match common block in fortran shared object.
Now how to have the fortran shared object having access to c++ shared object data structure.
I need to have one memory location to be updated either by c++ data structure and fortran data structure when both are loaded into one application.
Thanks for any suggetion