More DLL Woes
David Coe
david@coent.demon.co.uk
Fri Jun 6 11:03:00 GMT 1997
Christian Soeller wrote:
>
> Somebody explained that some time ago. Something to do with the
> fortran routines not containing a 'main' function. I solved it by
> adding explicitly 'main' functions in f2c generated code. Your
> workaround seems to do it as well.
Have you still got the mail message you could forward on to me? I've
rejoined the list after a gap of a few months...
> But my other question is: I would like to avoid going through the hassle of
> building the dlls and libpgplot.a myself. Could you make them available ?
> Have you also built the C interface (libcpgplot)?
Building the static libraries really is just a trivial adjustment of
linked libraries; put the attached file in sys_cygwin and issue makemake
as usual. Make and make cpg gives both libpgplot.a and libcpgplot.a. Be
aware that the HPLJ libraries won't compile under G77/F2C on Linux or
Cygwin nor has the native MS Powerstation code been ported to Cygwin
(yet) - I find the X11 and Postscript drivers work fine.
I really don't trust the DLL's yet (who would when the compiler crashes
mid-way through). If you pass the above static libraries through the
shell script on my original email, I guess you'll see what I mean. One
thing I do notice is that the DLLs don't pick up environment variables
which is a bit of a killer for PGPLOT ... is this also a well-known
characteristic?
Good luck
--
Dr David Coe \=\
58 Fairlawn Drive, East Grinstead \=\ Tel +44 1342 326860
West Sussex, RH19 1NT, United Kingdom \=\ Fax +44 1342 316019
More information about the Cygwin
mailing list