Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2009 13:05:24 -0600
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        Robert Huff <roberthuff@rcn.com>, ports@freebsd.org
Subject:   Re: numerous gcc installations
Message-ID:  <496A42F4.8020105@math.missouri.edu>
In-Reply-To: <18794.16134.168996.686859@jerusalem.litteratus.org>
References:  <4969C737.4040802@diamondbox.dk>	<496A2539.4060801@math.missouri.edu> <18794.16134.168996.686859@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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