Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* f77 -S problem; mips assembly from FORTRAN on DS5000/200
@ 1992-06-01 14:57 Richard C. Johnson
  1992-06-02 16:22 ` Bob Peterson
  0 siblings, 1 reply; 2+ messages in thread
From: Richard C. Johnson @ 1992-06-01 14:57 UTC (permalink / raw)


I'm trying to get mips assembler output from f77 (version 3.0-2 according
to the .l file generated with the -V option) running on a DECStation 5000/200.
The -S option described in the man pages doesn't seem to work; here's what
happens:

        bongo<matrix300> f77 -v -S matrix300.f
        /usr/lib/cmplrs/fort/decfort -o /tmp/forAAAa03270.o matrix300.f
        /usr/bin/cc -v -S /tmp/forAAAa03270.o -nocount -lUfor -lfor -lutil -li -lots -lm

        bongo<matrix300> ls matrix300.*
        matrix300.f
        bongo<matrix300>
So no .s file is being generated.  Any suggestions on how to get this to work?

---
Richard Johnson
rjohnson@cs.cornell.edu


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: f77 -S problem; mips assembly from FORTRAN on DS5000/200
  1992-06-01 14:57 f77 -S problem; mips assembly from FORTRAN on DS5000/200 Richard C. Johnson
@ 1992-06-02 16:22 ` Bob Peterson
  0 siblings, 0 replies; 2+ messages in thread
From: Bob Peterson @ 1992-06-02 16:22 UTC (permalink / raw)



From the man page (V3.1 but I don't think it changed in this regard):

     f77 does not process the following options, but passes them to the cc(1)
     compiler:
[...]
     -S           Creates assembler .s file. (No link occurs.)

I.e. it is silently ignored since it was assumed you wanted -S passed on for 
any .c files.  The DEC Fortran compiler's technology does not generate 
assemblable files.  You can see the machine code using -V -show code and 
display the resulting .l (ell) file.

\bob


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1992-06-02 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-06-01 14:57 f77 -S problem; mips assembly from FORTRAN on DS5000/200 Richard C. Johnson
1992-06-02 16:22 ` Bob Peterson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox