Menu

making a static linked build under windows

jack wu
2005-10-28
2013-03-22
  • jack wu

    jack wu - 2005-10-28

    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.

     
    • Holger Zimmermann

      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

       

Log in to post a comment.