* Map for Fortran task?
@ 1994-12-06 18:20 roland pringle
1994-12-06 19:42 ` Steve Lionel
0 siblings, 1 reply; 3+ messages in thread
From: roland pringle @ 1994-12-06 18:20 UTC (permalink / raw)
I am running on a DEC Alpha3000/OSF3.0. I have read the man pages on
f77. Can anyone tell me how to get a map of a fortran program. There
is no switch setting in f77 for a map. there is one on cc(-m). Any
help would be appreciated.
Roland Pringle
rwp@nmti.com
--
Roland Pringle (rwp@nmti.com) | Man's flight through life is
Network Management Technology, Inc. | sustained by the power of his
1601 Industrial Blvd. | knowledge.
Sugar Land, Texas 77487 (713)274-5000 |
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Map for Fortran task?
1994-12-06 18:20 Map for Fortran task? roland pringle
@ 1994-12-06 19:42 ` Steve Lionel
1994-12-07 18:59 ` Daniel S. Riley
0 siblings, 1 reply; 3+ messages in thread
From: Steve Lionel @ 1994-12-06 19:42 UTC (permalink / raw)
In article <id.0JCF1.I34@nmti.com>, rwp@nmti.com (roland pringle) writes:
|>I am running on a DEC Alpha3000/OSF3.0. I have read the man pages on
|>f77. Can anyone tell me how to get a map of a fortran program. There
|>is no switch setting in f77 for a map. there is one on cc(-m). Any
|>help would be appreciated.
-m is actually an ld switch. Unfortunately, f77 defines -m to have a
different meaning, so it "hides" the ld switch. (A hazard of the UNIX
way of doing things.) I would suggest using -o and -c to produce just
the objects and then use ld separately with the -m switch (and appropriate
libs) to get the load map.
--
Steve Lionel Mail: lionel@quark.enet.dec.com
DEC Fortran Development WWW: http://www.digital.com/info/slionel.html
Digital Equipment Corporation CompuServe: 75263,3001
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
For a summary of Digital's Internet services, send mail to info@digital.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Map for Fortran task?
1994-12-06 19:42 ` Steve Lionel
@ 1994-12-07 18:59 ` Daniel S. Riley
0 siblings, 0 replies; 3+ messages in thread
From: Daniel S. Riley @ 1994-12-07 18:59 UTC (permalink / raw)
In article <3c2er9$gd6@jac.zko.dec.com>,
lionel@quark.enet.dec.com (Steve Lionel) writes:
Steve> -m is actually an ld switch. Unfortunately, f77 defines -m to
Steve> have a different meaning, so it "hides" the ld switch.
You can explicitly pass the switch to ld with something like
f77 -Wl,-m
where '-Wl' means 'pass the next thing to the linker'...see the cc
man page for details.
--
Dan Riley Internet: dsr@lns598.lns.cornell.edu
Wilson Lab, Cornell University HEPNET/SPAN: lns598::dsr (44630::dsr)
"Distance means nothing/To me." -Kate Bush
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-12-07 18:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-06 18:20 Map for Fortran task? roland pringle
1994-12-06 19:42 ` Steve Lionel
1994-12-07 18:59 ` Daniel S. Riley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox