From owner-freebsd-questions Fri Feb 14 09:17:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA16683 for questions-outgoing; Fri, 14 Feb 1997 09:17:09 -0800 (PST) Received: from science-guy.npt.nuwc.navy.mil (SCIENCE-GUY.NPT.NUWC.NAVY.MIL [129.190.139.47]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA16672 for ; Fri, 14 Feb 1997 09:17:01 -0800 (PST) Received: from science-guy.npt.nuwc.navy.mil (localhost [127.0.0.1]) by science-guy.npt.nuwc.navy.mil (8.8.3/8.7.3) with ESMTP id MAA15631; Fri, 14 Feb 1997 12:14:55 -0500 (EST) Message-Id: <199702141714.MAA15631@science-guy.npt.nuwc.navy.mil> To: Christoph Kukulies Subject: Re: fortran compiler In-reply-to: Your message of "Fri, 14 Feb 1997 09:20:28 +0100." <199702140820.JAA03551@gilberto.physik.rwth-aachen.de> cc: questions@freebsd.org Date: Fri, 14 Feb 1997 12:14:55 -0500 From: Tod Luginbuhl Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Christoph, > Tod Luginbuhl wrote this in response Changho Nam's question > about fortran compilers for FreeBSD... > f77 is a shell that uses f2c to translate fortran to c, and then > uses > > Christoph Kukulie writes: >f77 isn't a shell. (once it has been though) >It's a program - the compiler driver: /usr/src/gnu/usr.bin/cc/f77/f77.c Thanks for the information --- I feel a little sheepish. > Tod Luginbuhl wrote: > I have a big program I wrote that uses STRUCTURE and RECORD (data > structures) --- data structures of this form are not supported by f2c > > > Christoph Kukulie writes: > Too bad that the programmers didn't exercise themselves in discipline > and didn't adhere to standards. Yeah, sometimes I don't think ahead (I'm the programmer). It seemed like a good idea at the time (more readable code etc.). I deviated enough from the standards so that my code compiles on HP's Fortran compiler (700 series), but it doesn't run correctly. HP's compiler has a bug. > Christoph Kukulie writes: > You aren't accidently trying to port CERNLIB programs? :-) They have > similar problems with non-f77isms. No, I'm not. I do use some LINPACK routines, but they are all in standard Fortran 77. Thanks though for the heads up about CERNLIB. > Tod Luginbuhl wrote: > I am currently trying to get Absoft's fortran compiler > for Linux (commercial) to run under FreeBSD's Linux emulator for these > reasons. May be I'm crazy...but I haven't had time to finish by C port > of my program. > Christoph Kukulie writes: >Well, you may have luck with this since the linux emulation works >quite well. The technical support person at Absoft thought it would work too --- he actually seem to know exactly what I was talking about. He warned me that Absoft's debugger probably would not work because the debugger exploited kernel data structures. I don't know yet. I'm running FreeBSD 2.1.6.1 (I track STABLE), and I haven't gotten anything to run under the Linux emulation yet. I haven't exhausted all my options, so I haven't posted questions. I'm also trying to get matlab for Linux to run under the emulator, but I think I'll need to switch to 2.2 to get it to work. matlab isn't a real priority anyway --- octave works just fine. Oh, I could switch to Linux...but that would be too simple! ;-) -------------------------------------------------------------------------- Tod Luginbuhl email: t.e.luginbuhl@ieee.org Code 2121 Naval Undersea Warfare Center Telephone: (401) 841-7505 x38241 1176 Howell Street FAX: (401) 841-7453 Newport, Rhode Island USA "Don't argue with drunks and fanatics!" -- Sun Wolf (Barbara Hambly) --------------------------------------------------------------------------