[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Add package NetCDF and its prerequisites HDF4
From: |
Martin Lambers |
Subject: |
Re: [Mingw-cross-env-list] Add package NetCDF and its prerequisites HDF4, HDF5, and portablexdr |
Date: |
Wed, 5 Dec 2012 20:25:29 +0100 |
Hi Tony!
On Thu, 6 Dec 2012 01:00:10 +1100, Tony Theodore wrote:
> I was having problems with hdf5 as it seems to want to create and run
> a code generator that detects platform-specific features. Wine *may*
> work for this, but we don't want to make that a requirement and I'm
> fairly sure that if you tried cross-compiling from a 64-bit machine
> you wouldn't see any build errors, but the resulting binaries would
> be suspicious.
>
> I ended up running the generators on a win-32 machine, patched in the
> created sources, and disabled the generator build steps:
>
> https://github.com/mxe/mxe/commit/3b80e4667a2bcbf9274b93337c443c75795b2dfa
>
> I'm not sure if that's the best approach, let me know if you have any
> ideas and if it still works for you.
Thank you for fixing this issue. You are right, we should never rely on
Wine; I simply missed that problem.
I think your approach is the right thing to do since Win32 is a fixed
platform and the generated sources are unlikely to change.
The resulting binary of my program works fine.
Regards,
Martin