On Mon, Nov 21, 2011 at 2:32 PM, Jorgen Simonsen <jorgen589.gmail.com>wrote:
> my gcc -v is
>
> Using built-in specs.
> Target: i686-apple-darwin11
> Configured with:
> /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure
> --disable-checking --enable-werror
> --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man
> --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm-
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
> --with-slibdir=/usr/lib --build=i686-apple-darwin11
>
> --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local
> --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
> --target=i686-apple-darwin11
> --with-gxx-include-dir=/usr/include/c++/4.2.1
> Thread model: posix
> gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
>
This is a problem. Your GCC is the 4.2.1 version that comes prebuilt with
XCode. You need to use the same gcc version as your gfortran version
(4.4.6), most likely from MacPorts.
HTH,
Jason
--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Nov 21 2011 - 12:00:04 PST