mingw w64 - Static Linking of Emacs for Windows using win-builds -


background: i'm trying compile emacs 25 windows desktop. @ moment i'm using win-builds (mingw-w64-based).

i passed in -static flag in ldflags (to configure), , crash on error

c:/win_builds/msys/1.0/opt/windows_64/bin/../lib64/gcc/x86_64-w64-mingw32/4.8.2/ ../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ldbus-1. 

i'm interpreting absence of static lib (archive) link with. can link using dlls, have dump ton of dlls emacs directory. there mechanism statically linking executable in environment?

win-builds won't enable achieve static linking since ships shared libraries except few specific cases.

that said need see little use in static linking typically since applications nowadays come files resources , therefore need several files, making ease of deployment of single-file binaries moot point.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -