Installing g95

Hi everyone

I've just bought a new mac (a MacBook Intel Core 2 Duo with OS 10.5.4) and I'm trying to install the g95 x86 Fortran compiler on it. I've installed Xcode and gfortran, which seems to be working. When I try to compile something with g95 I get the message:

ld: unknown/unsupported architecture name for: -arch i686

Do you know what the problem is? g95 used to work fine on my old PowerPC mac.

Thanks for your help!

Problem solved

I removed g95 and installed it again, this time using Fink... now everything is working!