[comp.lang.fortran] MS Fortran compatability with UN*X Fortran

twb@hoqax.UUCP (T.W. Beattie) (04/04/89)

I am interested in finding people's experiences with MicroSoft Fortran.

In particular:
	- How compatible is the MS Fortran compiler with code written for
		a UN*X System V f77 compiler?
	- Can MS Fortran functions be invoked from MS C 5.1?
	
Any other suggestions that may ease the transition are appreciated.

Followups are directed to the comp.lang.fortran group.

TIA,
Tom Beattie
att!hoqaa!twb
t.w.beattie@att.com

khb@fatcity.Sun.COM (Keith Bierman Sun Tactical Engineering) (04/06/89)

In article <2254@hoqax.UUCP> twb@hoqam.UUCP (T.W. Beattie) writes:
>
>I am interested in finding people's experiences with MicroSoft Fortran.
>
>In particular:
>	- How compatible is the MS Fortran compiler with code written for
>		a UN*X System V f77 compiler?

Not very. 

>	- Can MS Fortran functions be invoked from MS C 5.1?
>	

Probably. Should be in the manual.

>Any other suggestions that may ease the transition are appreciated.
>

It has been a couple of years since I last used MS fortran. When I
last checked into it, I decided to stick with Lahey. I seriously doubt
that MS will ever build a compiler as good as Tom's.

If the UNIX is using the standard "portable" f77 I fear you will find
many interesting bugs in the compiler. You might prefer to go with a
more production quality compiler. MIPS, and Sun both have pretty good
compiers (use v1.2; avoid v1.05). 

Keith H. Bierman
It's Not My Fault ---- I Voted for Bill & Opus