OK, I got gfortran to compile fine. Now, I am trying to use the
DISLIN grafix library. I am trying to compile and link one of the
examples in the DISLIN package (exa_f77.for) It compiles to exa_f77.o
OK, but when I link to the dislin library, it fails on one call: to
sprintf of all things. The message I get is:
In function 'sprintf':
c:/MinGW/include/stdio.h:266: undefined reference
to '__mingw_vsprintf'
I am using DLINK that comes with DISLIN. I have set the path and
environment variables in Vista control panel. Both DISLIN and
gfortran were installed without errors to c:\dislin and c:\gfortran.
Isn't 'sprintf' a basic C call? Doesn't that mean the gfortran
library is at fault or is it the dislin library at fault?
Has anyone successfully used DISLIN with gfortran?
The command I am using is:
dlink -a exa_f77
I have tried to compile and link separately, to no avail. Same error
message as above is spit out.