Dear All,
first of all, apologies if this is not the right mailing list for this
query. If so, please let me know of a better one. I did make a search on
the archive for gfortran but could not find exactly what I wanted.
At Warwick we have just switched to a new version of Mandrake linux
which comes with gcc 4.0.1 and gfortran although g77 based on gcc 3.3.6
is still available. This is causing me problems when trying to link
some old software of mine that uses STARLINK libraries and also some newer
C++-based stuff with PGPLOT. Our starlink stuff has not been changed as
far as I know so was compiled under g77, and hence does not seem to
like to be linked in with PGPLOT compiled under gfortran. On the other
hand, my C++ stuff compiled under g++ based on gcc-4.0.1 does not like to
be linked to PGPLOT compiled under g77. I can semi-working versions going
but plots miss all labels, which one realises rapidly is effectively
useless. The problems with linking were often cuased by missing libraries
and I made various attempt to add them but then ran into problems with
incompatible versions of shareable libraries and lost the courage to
continue.
As a temporary fix (I hope) I now have built two versions of
PGPLOT one built with g77, the other with gfortran. I made the first
non-shareable to avoid problems when running programs, but I am
nevertheless forced to switch between different PGPLOT_DIR environment
variables in order to pick up fonts correctly. This is a horrible
and rather unworkable kludge.
Obviously I could solve my problems if I could build STARLINK under
gfortran but my impression from a look through the archive is that
gfortran is not up to the job.
Could anyone tell me more on this or suggest an alternative solution?
regards,
Tom Marsh
|