I am trying to build the H5MD plugin to work with my Mac version of VMD (no CUDA). I'm having issues because the library versions seem to mismatch, and try as I might, I can't seem to get the compilation flags to match up. Is there a way to find out what flags/compilers were used for binary distribution? I don't really want to try to build the entire VMD program from source.

Current build options are -m32 -arch=i386
And hdf5-1.8-15-patch1 was built from scratch with the same flags to match (since macports only supplies a 64-bit version of the hdf5 libraries).
MacOS X 10.10.4