[Zlib-devel] zlib 1.2.4.2 ready for its close up
Alon Bar-Lev
alon.barlev at gmail.com
Sat Apr 10 15:29:49 EDT 2010
On Sat, Apr 10, 2010 at 10:20 PM, Alon Bar-Lev <alon.barlev at gmail.com> wrote:
> Have you tried cross compile the zlib using cmake? I just tried so and failed.
Succeeded.
Had to remove cache files.
rm -fr CMakeCache.txt CMakeFiles
cmake --verbose -DCMAKE_C_COMPILER=s390-unknown-linux-gnu-gcc .
Also tried to compile to mingw...
cmake --verbose -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc
-DCMAKE_RESOURCE_COMPILER=x86_64-w64-mingw32-windres
-DCMAKE_SYSTEM_NAME=Windows .
But CMAKE_RESOURCE_COMPILER is unacceptable, I tried few... It does
not expand the windres.exe correctly.
No simple --host=x86_64-w64-mingw32 configuration...
Good luck with cmake.
Alon.
More information about the Zlib-devel
mailing list