From owner-freebsd-ports@FreeBSD.ORG Sun Jan 11 19:36:10 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0596A106564A for ; Sun, 11 Jan 2009 19:36:09 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id 513108FC14 for ; Sun, 11 Jan 2009 19:36:08 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from laptop3.gateway.2wire.net (cauchy.math.missouri.edu [128.206.184.213]) by cauchy.math.missouri.edu (8.14.3/8.14.3) with ESMTP id n0BJ4InU054366; Sun, 11 Jan 2009 13:04:19 -0600 (CST) (envelope-from stephen@math.missouri.edu) Message-ID: <496A42F4.8020105@math.missouri.edu> Date: Sun, 11 Jan 2009 13:05:24 -0600 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.19) Gecko/20090109 SeaMonkey/1.1.14 MIME-Version: 1.0 To: Robert Huff , ports@freebsd.org References: <4969C737.4040802@diamondbox.dk> <496A2539.4060801@math.missouri.edu> <18794.16134.168996.686859@jerusalem.litteratus.org> In-Reply-To: <18794.16134.168996.686859@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: numerous gcc installations X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2009 19:36:10 -0000 Robert Huff wrote: > Hello: > >> A few days ago, gcc-4.3 became the default fortran compiler for >> the ports. Go ahead and erase the gcc-4.2 compiler - create the >> gcc-4.3 compiler, and everything after that will be fine. > > 1) What is the realtionship between this gcc and the gcc used > to compile the system? > 2) Do you know why this isn't noted in /usr/ports/UPDATING? Answers: 2) You make a good point. Why don't you raise this on ports@freebsd? This should be corrected. In fact, I am going to copy this to ports@freebsd. 1) I think that in most cases, the only reason why gcc is brought in is because the gcc that is in the base system does not include a fortran compiler. So any port that uses fortran (e.g. lapack, etc) has to install a fortran compiler. Having said all this, why doesn't bsd.gcc.mk first check to see if gfortran42 was already installed, and then only install gfortran43 if a fortran is needed? But I have the impression that quite a few changes have been made to bsd.gcc.mk recently, so some mistakes are understandable. Stephen