From: sjt@xun8.sr.bham.ac.uk (James Tappin)
Subject: Re: Fortran Block Data statements not recognized in libraries
Date: 4 Aug 1994 16:55:11 GMT [thread overview]
Message-ID: <31r6hf$4e6@sun4.bham.ac.uk> (raw)
In-Reply-To: CSH.94Aug4111259@ners6k4.eos.ncsu.edu
Chuck Henkel (csh@eos.ncsu.edu) wrote:
: Context: DEC AXP 3000 model 300
: OSF/1 v 2.0
: DEC Fortran v3.4
: Problem: When I bundle my block data routines into a library, the
: initializations are not performed. Outside of a library,
: things appear to work, but I'm not crazy about the prospect
: of having to restructure my makefiles.
: The release notes contain the following statement:
: o The following changes were made to the decfort compiler
: since DFAO V3.3:
: [...]
: - Make named block data in library work.
: What am I missing? Is it generally advisable to avoid using
: libraries and just string out all the .o's on the link line?
[illustrations deleted]
: Chuck Henkel
: NCSU Nuclear Engineering
This is a fundamental problem in fortran (not just OSF), because a BLOCK
DATA is never explicitly accessed it won't be picked up from the library
unless there is a way of forcing a given member to be linked in. I'm
afraid it's long enough since I did any serious fortran that I've never
checked to see if there is a linker option to do that.
--
James Tappin, School of Physics & Space Research
University of Birmingham
sjt@xun8.sr.bham.ac.uk
"If all else fails--read the instructions!"
O__
-- \/`
next prev parent reply other threads:[~1994-08-04 16:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-08-04 15:12 Fortran Block Data statements not recognized in libraries Chuck Henkel
1994-08-04 16:55 ` James Tappin [this message]
1994-08-05 7:53 ` David L Terrett
1994-08-05 14:09 ` Dennis Murphy
1994-08-08 18:00 ` Dave Eklund
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox