Gfortran strange target problem

Simon Martin phy445 at gmail.com
Mon Aug 13 07:48:42 PDT 2007


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)"

so the fortran compiler is running as a cross compiler. The other compilers
in the gcc suite seem to be fine
e.g. g++ -v produces:

"Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic
--program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)"

Does anybody know what is going on?

Cheers

Simon


-- 
View this message in context: http://www.nabble.com/Gfortran-strange-target-problem-tf4261683.html#a12127665
Sent from the MacPorts - Users mailing list archive at Nabble.com.




More information about the macports-users mailing list