This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Using a DLL/shared library created with gfortran with a program created with another compiler
- From: "Arjen Markus" <arjen dot markus at wldelft dot nl>
- To: fortran at gcc dot gnu dot org
- Date: Thu, 8 Jan 2009 13:54:51 +0100 (CET)
- Subject: Using a DLL/shared library created with gfortran with a program created with another compiler
- Reply-to: arjen dot markus at wldelft dot nl
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