Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 1997 12:14:55 -0500
From:      Tod Luginbuhl <tod@science-guy.npt.nuwc.navy.mil>
To:        Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
Cc:        questions@freebsd.org
Subject:   Re: fortran compiler 
Message-ID:  <199702141714.MAA15631@science-guy.npt.nuwc.navy.mil>
In-Reply-To: Your message of "Fri, 14 Feb 1997 09:20:28 %2B0100." <199702140820.JAA03551@gilberto.physik.rwth-aachen.de> 

next in thread | previous in thread | raw e-mail | index | archive | help

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)

--------------------------------------------------------------------------  





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702141714.MAA15631>