kspalaiologos / bzip3

A better and stronger spiritual successor to BZip2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

static builds for windows that do not have a "libwinpthread-1.dll" dependency

zedd-0 opened this issue · comments

hi.

i cannot run your program.
i've got a error message.
it missing a file: "libwinpthread-1.dll"
it looks like you have compiled a linked/shared build inside of cygwin.

is it possible to make a static build, which do not need any extra DLL-files?

thanks.

hi,

I don't understand what the problem is... I just successfully built bzip3.exe with libwinpthread statically linked using MinGW-W64 compiler: https://github.com/niXman/mingw-builds-binaries/releases

on attachment.
VirusTotal report: https://www.virustotal.com/gui/file/21bd6bc1500df689d2c5c46bffb1eff9c1d0cd839cfdcc1bd3d3a3dd0d0e8cdc?nocache=1
bzip3.zip

(dont worry, just compare sha256 hash sum on VirusTotal and for attached file)
(ah, because if Github restrictions I had to change its extension, just rename it as .exe)

built using this cmd: x86_64-w64-mingw32-gcc -Iinclude -DPTHREAD -O2 src/main.c src/libbz3.c -o bzip3 -static -s

according to the #51 and for not to double-quote VERSION in main.c, it can be defined in the cmdline: x86_64-w64-mingw32-gcc -Iinclude -DPTHREAD -DVERSION="\"1.2.3\"" -O2 src/main.c src/libbz3.c -o bzip3 -static -s

@zedd-0 @kspalaiologos is there any reason why this issue is still open?