On Nov 12, 2013, at 09:55, Michael Dickens wrote: > Hi David - gfortran, and non-Apple GCC in general, uses -m32 and -m64 to > build for whatever the host arch is.
With any compiler you can use -m flags. With Apple GCC, llvm-gcc, clang, and FSF GCC 4.7 and later, for C and C++ code, you can use -arch flags. MacPorts knows this and sets configure.XX_archflags correctly based on what configure.compiler is; the problem is with the gfortran recipe we’re not setting configure.compiler so configure.ld_archflags could still include -arch flags even though gfortran doesn’t support them. _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev