Subject: Re: f90 compiler
To: None <shnek@tiscali.cz>
From: Chris Wareham <chris.wareham@iosystems.co.uk>
List: netbsd-help
Date: 01/26/2004 17:12:07
shnek@tiscali.cz wrote:
> hi guys,
> 
> i need a f90 compiler for one program. however, netbsd has only f77. is
> there f90 compiler somewhere (i couldn't find any in the pkgsrc)? i tried
> to compile the program with f77 (g77) but i had no success (lots of errors
> with data types - i don't  understand them as i don't know fortran).
> 
> any hints are greatly appreciated. regards,
> lubos
> 

I have used the gfortran compiler to build Fortran 90 sources, but I had
to compile a snapshot of GCC to get it. I also had to patch NetBSD's
math library to provide the round and roundf functions. I have just
submitted a PR (lib/24252) with a patch to add these functions. The code
was adapted from a similar PR submitted for FreeBSD. The GCC snapshot
you need is from the tree-ssa branch, which is slated to become the GCC
3.4 release, and can be found at http://gcc.gnu.org/fortran/.

Regards,

Chris
-- 
chris.wareham@iosystems.co.uk (work)
chris.wareham@btopenworld.com (home)