Steffen Mueller <[EMAIL PROTECTED]> writes: > If somebody were to get that thing to work on win32 (can't be *that* > hard: It's just a *very* thin wrapper around infozip itself), that > would rock. The initial benefit on execution time was tremendous in my > tests with a large executable.
Hi, I think I finished the hack, at least I compiled the module following the Sisyphus procedure. After running make -f Makefile.gcc in res/unzip-5.52 it's necessary to compile these c files: gcc -c -DASM_CRC -DWIN32 -DFORCE_WIN32_OVER_UNIX -Wall -DDLL -o api.o -O2 -mcpu=pentiumpro api.c gcc -c -DASM_CRC -DWIN32 -DFORCE_WIN32_OVER_UNIX -Wall -DDLL -o nt.o -O2 -mcpu=pentiumpro win32/nt.c gcc -c -DASM_CRC -DWIN32 -DFORCE_WIN32_OVER_UNIX -Wall -DDLL -o unzip.o -O2 -mcpu=pentiumpro unzip.c gcc -c -DASM_CRC -DWIN32 -DFORCE_WIN32_OVER_UNIX -Wall -DDLL -o crc_i386.o -O2 -mcpu=pentiumpro crc_i386.S Mind -DDDL which avoids unwelcome undefined references. Then in the cmd shell in the res folder: ar rvf libmyunzip.a unzip-5.52\unzip.o unzip-5.52\crc32.o unzip-5.52\crctab.o unzip-5.52\crypt.o unzip-5.52\envargs.o unzip-5.52\explode.o unzip-5.52\extract.o unzip-5.52\fileio.o unzip-5.52\globals.o unzip-5.52\inflate.o unzip-5.52\list.o unzip-5.52\match.o unzip-5.52\process.o unzip-5.52\ttyio.o unzip-5.52\unreduce.o unzip-5.52\unshrink.o unzip-5.52\zipinfo.o unzip-5.52\api.o unzip-5.52\win32.o unzip-5.52\nt.o unzip-5.52\crc_i386.o and obligatory perl Makefile.PL & dmake in the module source. It remains to incorporate the process in Makefile.PL. -- Radek