Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!jarthur!usc!sdd.hp.com!hp-pcd!hpfcso!cunniff From: cunniff@hpfcso.FC.HP.COM (Ross Cunniff) Newsgroups: comp.sys.hp Subject: Re: fortran compilers for HPUX Message-ID: <7370320@hpfcso.FC.HP.COM> Date: 26 Feb 91 15:51:45 GMT References: <1991Feb25.203929.978@wlbr.imsd.contel.com> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 42 > Here are my questions: > does it some degree of vax/vms-ish support like sun's ? Yes. It supports all MIL-STD features (bit intrinsics, DO WHILE construct, INTRINSIC NONE, etc), IJ numeric constants, the REAL*16 data type, STRUCTUREs, entry points of a different type than the enclosing function, unstructured GOTOs (i.e. GOTOs into a DO loop), NAMELIST, the BYTE datatype, etc. This is all off the top of my head, so I'm sure I've missed several things. > does it have structures ? Yes. > does it have pointers ? No. Of course, this is not a VMS extension, but a CRAY extension. > Can can you call C functions from fortran and vice-versa ? Yes. > Can can you call fortran functions from C functions ? Yes. > If it exists. Is it is reasonably painless to C <--> Fortran mixing ? Yes. Easier, in fact, than on a Sun, since you don't have to add the silly appended underscore. Of course, if you REALLY enjoy adding the silly appended underscore, there is an option to make that work. > Of course any other information you may find useful i'd be more than happy > to hear about. If possible, make sure you get the latest release (7.40 for the S300, 7.0 for the S800). Contact your local sales rep. Ross Cunniff Hewlett-Packard Colorado Langauge Lab cunniff@hpfcla.HP.COM Brought to you by Super Global Mega Corp .com