[ncl-install] Status of NCL under MacOS 10.6 (64-bit)

Sourish Basu sbasu at physics.cornell.edu
Fri Nov 13 01:26:40 MST 2009


> I see that Sourish posted a response. The question I have about using 
> gcc 4.2 is whether you get a 64-bit compile by default. I think this 
> is the heart of the issue: HDF4 is not expecting the MacOS build to be 
> on a 64-bit system, so it tries to treat the configuration as if it's 
> a 32-bit one. This causes conflicting information during the 
> "configure" phase.
>
> I believe that you could do a build from source if you went into 
> 32-bit mode, by forcing the "-m32" option. However this defeats the 
> purpose of getting a 64-bit system.

I used gcc-4.4.1 to build HDF4. That version (at least the one installed 
by fink) does not accept the "-arch" flag. It does accept the 
"-m32/-m64" flag, but I didn't use it. So I'm not sure if the HDF 
library I have is 32 bit or 64 bit. Is there any way of checking?

-Sourish


More information about the ncl-install mailing list