[Zlib-devel] remarks about Makefile.gcc on Windows platform

Vincent Torri vtorri at univ-evry.fr
Tue Apr 8 04:44:38 EDT 2008


Hey,

I'm trying to compile zlib for the Windows CE platform. I use cegcc to 
compile it, which is a port of gcc for that platform.

So I used Makefile.gcc which is in the win32 sub directory. While trying 
to port it, I've found that it can be improved a bit:

  * there is no ".exe" extension to minigzip. Hence, make clean does not 
remove it. I think that that extension should be added (we are on the 
Windows platform :-) ). I don't know what minigzip_d is for, but maybe 
something similar should be done. Same for example and example_d, I think.

  * dllwrap is deprecated. It should be replaced by gcc -shared (see 
http://www.mingw.org/MinGWiki/index.php/dllwrap)

  * With cegcc comes tools like strip, which are specific to that platform. 
Maybe some variables should be used (like CC or AR) so that it would be 
easier (for me :-) ) to compile zlib with cegcc.

If it is worth, I can make a patch for those 3 points

regards

Vincent Torri




More information about the Zlib-devel mailing list