🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #2932

MIPS compiler which comes with Ultrix 4.0/4.1

#2932
From: g hugh song
Date: Thu, 27 Dec 1990 21:46
39 lines
2159 bytes
Hi,
I am having a terrible time wrestling with my program.
It had run successfully on Cray, Stardent, IBM RS/6000, Sun, etc.  Now I am 
trying to run on my machine---DecStation 5000/200.   It ran on DS 5000/200,
well, sort of.

It is running with -O2 -C.  However it does not run without -C.  Usually
the revese is the usual case.  So I tried to use the debugger "dbx".
(for the first time, since I always used one withe a graphical interface
so far with Apollos)  BTW, When will dec provide a graphical debugger
for f77 in addition to cc?
Alas, the source is not available although I compiled that routine with "-g".
That's fine.  I can open a separate window, "vi" the file with ":set number"

I finally found that the bug could be found if there were a mechanism which
finds floating point exception "NaN"---yeah! The famous "NaN"---which is
*allowed* to be *undetected* by ANSI FORTRAN 77 Standard.  Am I correct?
It seems that the MIPS f77 compiler does not have floating-point-exception 
detection mechanism.
in accordance with ANSI FORTRAN 77 Standard.   Arrrrgggg....
I do not understand why ANSI did not specify such mechanism.
If you know why, please enlighten me.

Does MIPS Fortran compiler really not have such detection mechanism at
all?

The compiler version is 2.1. (cc uses 2.0).
You know, version cc -O2 has a problem compiling TeX3.0.   I do not think
it has been solved with 2.1 which is used by f77 with Ultrix 4.0.

So, what is the version number which comes with Ultrix version 4.1?
My site does not have Ultrix 4.1, yet.

Thanks.

	-hsong-
	nvuxl!hsong@bellcore.bellcore.com

PS: You need to type "nvuxl\!hsong@..." on Csh command line.
Technical Details
Message-ID: <764@nvuxl.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!uunet!bellcore!porthos!pyuxe!nvuxl!hsong

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!uunet!bellcore!porthos!pyuxe!nvuxl!hsong
From: hsong@nvuxl.UUCP (g hugh song)
Newsgroups: comp.sys.dec,comp.sys.mips
Subject: MIPS compiler which comes with Ultrix 4.0/4.1
Keywords: Ultrix, cc, f77, MIPS
Message-ID: <764@nvuxl.UUCP>
Date: 27 Dec 90 21:46:52 GMT
Followup-To: comp.sys.deccomp.sys.dec
Distribution: usa
Organization: Bellcore, Livingston, NJ
Lines: 39