[3387] in testers

home help back first fref pref prev next nref lref last post

sgi 8.1.15: f90

daemon@ATHENA.MIT.EDU (cfields@MIT.EDU)
Sat Dec 13 17:13:05 1997

From: cfields@MIT.EDU
To: testers@MIT.EDU
Date: Sat, 13 Dec 1997 17:12:54 EST

System name:		boom
Type and version:	IP32 8.1.15
Display type:		CRM

What were you trying to do?

	Compile a fortran program.

What's wrong:

	The compiler offers a potentially confusing warning.

	athena% f90 hello.f90
	WARNING: f90 -32 compilation is not supported, using -n32.
	athena%

So what should we do about it?

	Nothing, I suspect. alexp reported this to me. Reading the
	manual pages, this is effectively all documented. The
	Fortran compiler, as it claims, does not support -32.
	However, -32 is the default mode for compiling. It's possible
	to change the default to -n32 and shut up the Fortran compiler,
	but this would change the default for the C compiler as well.

	I believe, but do not know, that this would be a bad idea.
	Changing the default to -n32 makes it that much more likely
	(perhaps totally certain) that binaries built on an O2 would
	not run on an Indy (at least until we deploy Irix 6.2), and
	I'm assuming that this is a bad thing.

	It's entirely possible someone knows better than me about this,
	so I'm reporting it.

Please describe any relevant documentation references:

	f90(1), cc(1)

home help back first fref pref prev next nref lref last post