Hello all,<br><br>I&#39;m fairly new with HDF5, and we are experimenting with using it for some of our products with large datasets. I&#39;ve got it up and running inside our applications on Mac OS X and linux. The next step is to see if we can get it running on an iPhone app. The host system is OS X 10.6.2. So far I&#39;ve been unsuccessful.<br>
<br>I had to strip some of the tests from the &quot;<a href="http://configure.in">configure.in</a>&quot; file, as they didn&#39;t allow for cross compiling. After doing that, I successfully got ./configure to run with the following command:<br>
<br>./configure --prefix=/usr/local/iphone --enable-cxx=yes --host=arm-apple-darwin  CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.0.1 CFLAGS=&quot;-arch armv6 -pipe -std=c99 -O3 -miphoneos-version-min=2.0 -gdwarf-2 -mthumb -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk&quot; CXXFLAGS=&quot;-arch armv6 -pipe -O3 -miphoneos-version-min=2.0 -gdwarf-2 -mthumb -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk&quot; CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp AR=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar<br>
<br>make starts working fine until I get to the point where it is trying to create H5Tinit.c. It is trying to run H5detect, which I presume was built for the armv6, and I get the following error:<br><br>LD_LIBRARY_PATH=&quot;$LD_LIBRARY_PATH`echo  |                  \<br>
        sed -e &#39;s/-L/:/g&#39; -e &#39;s/ //g&#39;`&quot;                               \<br>     ./H5detect &gt; H5Tinit.c  ||                               \<br>        (test $HDF5_Make_Ignore &amp;&amp; echo &quot;*** Error ignored&quot;) ||          \<br>
        (rm -f H5Tinit.c ; exit 1)<br>/bin/sh: ./H5detect: Bad CPU type in executable<br>make[2]: *** [H5Tinit.c] Error 1<br>make[1]: *** [all] Error 2<br>make: *** [all-recursive] Error 1<br><br>The H5Tinit.c looks to be rather complicated, and not something that I&#39;d want to try to recreate by hand. Can anyone point me in the right direction?<br>
<br>Thanks!<br><br>Eric<br>