[Zlib-devel] Problem with inffast.S and inffas32.asm when NO_GZIP is #defined

Chris Anderson christop at charm.net
Wed Oct 20 20:38:46 EDT 2004


Yeah, -DNO_GUNZIP works:

$ gcc -c -DASMINF -DNO_GZIP -DNO_GUNZIP contrib/inflate86/inffast.S
$ make CFLAGS="-DASMINF -DNO_GZIP" OBJA=inffast.o
$ ./example 
zlib version 1.2.0.7 = 0x1207, compile flags = 0x20255
uncompress(): hello, hello!
gzread(): hello, hello!
gzgets() after gzseek:  hello!
inflate(): hello, hello!
large_inflate(): OK
after inflateSync(): hello, hello!
inflate with dictionary: hello, hello!

Without the -DNO_GUNZIP, it fails with the gzseek error.





More information about the Zlib-devel mailing list