Re: [AMBER-Developers] AmberTool on Mac OS 10.6 (was Re: Amber on Mac (Snow Leopard))

From: case <case.biomaps.rutgers.edu>
Date: Sat, 26 Sep 2009 14:32:44 -0400

On Fri, Sep 25, 2009, MengJuei Hsieh wrote:
>
> Does this patch make sense to you guys? The problem of Snowleopard is that
> gcc is always trying to build a x86_64 binary even if the operating system
> is still in 32bit. (Snow Leopard can run x86_64 binary under 32bit OS, for
> x86_64 CPU) Once you specify -m32, you need to tell gcc, ld, ar, gfortran to
> do it explicitly.
>
> An lazy way to do this is NOT to specify at all, but it may as well a better
> way...

Do we know if we really need either "-m32" or "-m64" flags? That is, for the
gnu compiler, if you are not cross-compiling, can one not always just leave
this out? [Leaving out -m32 and -m64 Works for me on MacOS 10.5, aka Darwin
9, and on Intel Linux gcc/gfortran].

...dac


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Sat Sep 26 2009 - 12:00:02 PDT
Custom Search