gcc46 and Boost
ryandesign at macports.org
Thu Nov 24 13:31:43 PST 2011
On Nov 24, 2011, at 15:02, Daniel James wrote:
> On 24 November 2011 16:53, Ryan Schmidt <ryandesign at macports.org> wrote:
>> Hmm yes I see. -arch flags are not compatible with the FSF GCC compilers in MacPorts.
> I pointed this out on the boost build list, and was asked:
>> As for -arch, I am not quite sure. Looks like FSF gcc differs in how ones
>> specifies architecture, but I don't know the right flag for it.
> Any idea?
-m64 for 64-bit, -m32 for 32-bit. As for cross-compiling (i.e. for PowerPC an an Intel Mac), I don't know how to do that.
Apple GCC also can compile for multiple architectures simultaneously, which FSF GCC cannot do.
More information about the macports-users