Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2009 12:56:37 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: g95 as a system fortran compiler?
Message-ID:  <790a9fff0912201056i829f12as9b8804008850564f@mail.gmail.com>
In-Reply-To: <20091220114619.GA94146@mech-cluster241.men.bris.ac.uk>
References:  <20091220114619.GA94146@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/20/09, Anton Shterenlikht <mexas@bristol.ac.uk> wrote:
> I'm a user, not a developer, so I might be talking nonsense,
>  in which case I apologise.
>
>  I think the lack of a fortran compiler in the base OS is
>  a significant minus of an otherwise very general OS.
>
The reason a fortran compiler is not in the base OS is because none of
the base OS sources require a fortran compiler to compile the source.
And it would require someone to maintain the fortran sources in the
FreeBSD svn to keep it updated.

A lack of the fortran compiler in the base OS is not a minus, it's
actually a plus having it as a port.   The fortran ports will see
regular updates to them, while a version in the base OS would stay
frozen to an older release for each FreeBSD release.

>  I think inclusion/exclusion of system fortran is best
>  controlled via /etc/src.conf, for those who have no use
>  for it.
>

The best way to add fortran to the system is to use either pkg_add or
install the port:

pkg_add -r g95-0.92.20090624.tbz

cd /usr/ports/lang/g95 ; make install

Scot



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