good day! Tell me, please, how to compile gzip from the libdeflate project . As the author of the program did.
I use MSYS2 for compilation.
good day! Tell me, please, how to compile gzip from the libdeflate project . As the author of the program did.
I use MSYS2 for compilation.
Carefully study the Makefile file there look options BUILD_GZIP_PROGRAM BUILD_PROGRAMS
make BUILD_GZIP_PROGRAM=yes with this option. - Yaroslavmain': C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c:18: undefined reference to WinMain @ 16 'collect2.exe: error: ld returned 1 exit status Makefile: 161: error in executing the recipe for the "gzip" target make: *** [gzip] Error 1 - lorentsmain WinMain or wmain is used, In mingw main is usually used. Somewhere there is a redefinition. - YaroslavSource: https://ru.stackoverflow.com/questions/523709/
All Articles