*BSD News Article 70027


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!news.u.washington.edu!root
From: kargl@hotrat.apl.washington.edu
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: R2.1 and Solaris Fortran x86
Date: 3 Jun 1996 05:29:05 GMT
Organization: Applied Physics Laboratory
Lines: 47
Message-ID: <4ott71$si@nntp5.u.washington.edu>
References: <4otgk1$53a@weever.mel.dit.csiro.au>
NNTP-Posting-Host: ppp-C4.apl.washington.edu

     JENSEN Jorgen wrote in article <4otgk1$53a@weever.mel.dit.csiro.au> :
>
>Hi,
>
>I have a very nice R2.1 system - thanks to all the developers.
>In the past we have used several ISC 3.2 boxes, but their software
>is somewhat limited and dated.
>
>We need a very good fortran compiler on the R2.1 system. Unfortunately
>the g77 does not have two key features:
>
>   No ability to do array subscript checking
>   No ability to define 8-bit and 16-bit variables, only 32-bit.

If you're doing any double complex computations, you DO NOT want to
use g77 as of version 0.5.17.  It gives completely bogus results.
I haven't tried 0.5.18, yet.

>
>We need the ability to define int*2 as the machine is used to convert
>data from 16-bit data loggers. Rewriting the program in C is too
>time consuming; it is about 20000 lines.

You can do integer*2 with f2c+gcc.  You may have to rebuild the 
f2c library if you use intrinsic functions that assume integer*2.
BTW, f77 on R2.1 is a wrapper around f2c+gcc.

>
>The easiest would be to pay for another compiler, possibly the Solaris
>x86 fortran compiler.
>
>Question: The Solaris compiler must be an ELF based compiler, I assume.
>Will it run under FreeBSD? We do not need any fancy access to the
>operating system, just basic crunching, input and output.
>
>Thanks for any help,
>
>Jorgen Jensen
>
Steve

finger -l kargl@troutmask.apl.washington.edu
http://troutmask.apl.washington.edu/~sgk

Permission is hereby granted to forward this message in its entirety to
whomever you like unless I explicitly state that the content is confidential.