This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
static links
- From: DHConsultancy <DHConsultancy at skynet dot be>
- To: gcc-help at gcc dot gnu dot org, DH Consultancy <DHConsultancy at skynet dot be>
- Date: Wed, 28 Nov 2007 13:01:47 +0100
- Subject: static links
- Reply-to: DHConsultancy at skynet dot be
Hi,
I'm trying to build a Fortran application using gfortran. I need both a
dll, and a static library. I managed to create both, my question now is
how to build a static gfortran application linking in the .dll or .a. If
I link in .dll or .a, I get the error that .dll cannot be found.
Is there a way to build a "stand-alone" application, i.e. in which the
.dll is statically linked and the application doesn't need to reference
it at runtime?
Thanks in advance!
--
D. Heynderickx
DH Consultancy
Diestsestraat 133/3
B-3000 Leuven
Belgium
E-mail: DHConsultancy@skynet.be
Tel: +32-16-225860
GSM: +32-474-217768