This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Using a DLL/shared library created with gfortran with a program created with another compiler


Hello,

I am contemplating the following scenario:
- My program (on Windows or Linux, both platforms are of
  importance) is compiled and linked using, say,
  the Intel Fortran compiler.
- however, I want to be able to use DLLs or shared libraries
  created with gfortran.
- the interface to the routines contains integer and
  real arrays only and is actually set up according to the
  FORTRAN 77 conventions.

Would this scenario be realisable? Or would I run into
all manner of nasty runtime problems? How "self-contained"
is a DLL/SO?

Regards,

Arjen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]