Gfortran strange target problem

Adam Mercer ramercer at gmail.com
Mon Aug 13 07:53:38 PDT 2007


On 13/08/07, Simon Martin <phy445 at gmail.com> wrote:
>
> I need a fortran compiler, so I have installed gcc4.2 on my MacBook (latest
> version of OS, macport updated etc)
> The installation procedes seemingly without problem. However when I check
> the fortran with the command:
> gfortran -v
>
> I get
>
> "Using built-in specs.
> Target: powerpc-apple-darwin8.8.0
> Configured with: ../gcc-4.3-20061223/configure --enable-languages=fortran
> Thread model: posix
> gcc version 4.3.0 20061223 (experimental)"

the gcc42 port installs gfortran as gfortran-mp-4.2 so it looks like
you've installed the 4.3 development snapshot elsewhere on your system
and that version is getting picked up.

Cheers

Adam



More information about the macports-users mailing list