From: FX (fxcoudert_at_gmail.com)
Date: Sat Jul 02 2011 - 05:13:21 CDT

Dear VMD developers,

While I was compiling plugins, I realized that the "make MACOSXX86" and "make MACOSXX86_64" commands don't actually do what I thought. In particular, running "make MACOSXX86" on a 64-bit Mac OS (with the system compiler defaulting to 64-bit) does not make a 32-bit build, but a 64-bit one. Also, running "make MACOSXX86_64" on a 32-bit system fails to build (instead of doing a 64-bit build).

So, I propose the attached patchlet to systematically use the -m32 and -m64 options in those builds, thus making it possible to perform both types of build independently of the current system default.

Thanks for considering this,
FX


  • application/octet-stream attachment: mac.diff