16.04.2014, 04:38, "LRN" <[email protected]>: > On 15.04.2014 19:00, Evgeny Grin wrote: >> libgcc contains only internal routines and only 3 of them are used. >> Libs on Win32 are distributed usually in binary form and with >> libgcc dll this dll must be distributed with lib dll. Don't see any >> real reason for making it dynamic Did I miss something? > > Whether to link statically or dynamically is packager's choice. Don't > take it away just because *you* think static linkage is OK. If static > linking makes a lot of sense, make libmicrohttpd *default* to linking > libgcc statically, and require --enable-shared-libgcc configure option > to override that.
There was no choice before my changes. libgcc was static with gcc <= 4.8.0 and dynamic with gcc > 4.8.0 on MinGW. Don't want to spoil configure with win32-only options. If Christian is OK with it, I'll add such option. Best Wishes, Evgeny
