From owner-freebsd-questions@FreeBSD.ORG Tue Dec 22 09:41:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A427A1065695 for ; Tue, 22 Dec 2009 09:41:29 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 618B28FC1C for ; Tue, 22 Dec 2009 09:41:29 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NN1F6-0002gp-LG; Tue, 22 Dec 2009 09:41:27 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NN1F5-00030N-SQ; Tue, 22 Dec 2009 09:41:24 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBM9fNcO059745; Tue, 22 Dec 2009 09:41:23 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBM9fMEs059744; Tue, 22 Dec 2009 09:41:22 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 22 Dec 2009 09:41:22 +0000 From: Anton Shterenlikht To: Erik Trulsson Message-ID: <20091222094122.GB59693@mech-cluster241.men.bris.ac.uk> References: <298DC175-075F-4C40-AE06-116CE6A3523B@forestinformatics.com> <20091221233113.GA16625@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091221233113.GA16625@owl.midgard.homeip.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Cc: freebsd-questions@freebsd.org, Jeff Hamann Subject: Re: Where is gfortran in FreeBSD 7.2 Release (i386)? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 09:41:29 -0000 On Tue, Dec 22, 2009 at 12:31:13AM +0100, Erik Trulsson wrote: > On Mon, Dec 21, 2009 at 01:14:22PM -0800, Jeff Hamann wrote: > > I've been trying to figure out where gfortran went since it doesn't appear in the /usr/ports collection in FreeBSD 7.2 (i386). > > > > I need it to build plots of numerical "things" and use the following lots: > > > > ./configure \ > > CC="gcc -arch i386" \ > > CXX="g++ -arch i386" \ > > OBJC="gcc -arch i386" \ > > F77="gfortran -arch i386" \ > > FC="gfortran -arch i386" \ > > --with-python \ > > --with-openssl > > > > My web searches turn up lots of on-responses (i.e. you shouldn't be using fortran anway's it's dead...), and I seem to have gcc42 installed. > > > > $ gcc -v > > Using built-in specs. > > Target: i386-undermydesk-freebsd > > Configured with: FreeBSD/i386 system compiler > > Thread model: posix > > gcc version 4.2.1 20070719 [FreeBSD] > > $ > > > > A little help please? > > Install the lang/gcc44 port which includes Fortran support. The Fortran > compiler will be installed as gfortran44. there's no fortran compiler in base since 7 branch (I think). You need to get one from ports. The default now is gcc44, but if you want you can try gcc45 or 43. gcc44 is best, if it builds for you, because most fortran-dependent ports will want gfortran44. An alternative is lang/g95. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423