gfortran-4.5 was not built when installing gcc-4.5

Frank Schima macsforever2000 at macports.org
Thu Dec 17 10:33:48 PST 2009


On Dec 17, 2009, at 11:15 AM, Vic Kelson wrote:

> I successfully installed gcc-4.5 from MacPorts with
> 
> $ sudo port install gcc45
> Password:
> --->  Computing dependencies for gcc45
> --->  Fetching gcc45
> --->  Attempting to fetch gcc-core-4.5-20091203.tar.bz2 from ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20091203/
> --->  Attempting to fetch gcc-fortran-4.5-20091203.tar.bz2 from ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20091203/
> --->  Attempting to fetch gcc-g++-4.5-20091203.tar.bz2 from ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20091203/
> --->  Attempting to fetch gcc-java-4.5-20091203.tar.bz2 from ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20091203/
> --->  Attempting to fetch gcc-objc-4.5-20091203.tar.bz2 from ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20091203/
> --->  Verifying checksum(s) for gcc45
> --->  Extracting gcc45
> --->  Configuring gcc45
> --->  Building gcc45
> --->  Staging gcc45 into destroot
> --->  Installing gcc45 @4.5-20091203_0
> --->  Activating gcc45 @4.5-20091203_0
> --->  Cleaning gcc45
> $
> 
> Everything went without a hitch, but there's no gfortran-4.5 or gfortran-mp-4.5, only the gfortran-mp-4.3 that was built when I first installed MacPorts. Did I do something wrong? It appears to have downloaded the sources... Is there a flag that I need to set when I do the install? I'd really like to try out some of the new Fortran 2003 features in gfortran 4.5
> 
> THANKS for all you do!

You need to use the gfortran variant. So you can run the following:

	sudo port upgrade gcc45 +gfortran


Cheers!
Frank



More information about the macports-users mailing list