hi, is there a quick way to make a static linked build under windows? i think the dynamic loading of dlls is really not necessary as i don't change my web site's modules often.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
no, the static build was intended for specific older Linux distributions for better binary compatibility (avoiding trouble with c++ library version or dynamic linker).
I'm also not sure, if I understand what you want to achieve, because the static build would only glue all Pi3Web libraries (modules) and the imported libraries together to one executable. All modules of your web site (e.g. dynamic stuff like any CGI or ISAPI programs) can't be affected by this mechanism.
Furthermore the dynamic libraries (dll's) of the server itself are loaded at startup time, i.e. there's nothing to be loaded, when the web site changes.
--
kind regards,
Holger
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi, is there a quick way to make a static linked build under windows? i think the dynamic loading of dlls is really not necessary as i don't change my web site's modules often.
Hi Jack,
no, the static build was intended for specific older Linux distributions for better binary compatibility (avoiding trouble with c++ library version or dynamic linker).
I'm also not sure, if I understand what you want to achieve, because the static build would only glue all Pi3Web libraries (modules) and the imported libraries together to one executable. All modules of your web site (e.g. dynamic stuff like any CGI or ISAPI programs) can't be affected by this mechanism.
Furthermore the dynamic libraries (dll's) of the server itself are loaded at startup time, i.e. there's nothing to be loaded, when the web site changes.
--
kind regards,
Holger