[Mapserver-dev] Building .exes with DLLs on windows

Daniel Morissette dmorissette at dmsolutions.ca
Mon Apr 5 10:02:17 EDT 2004


Frank Warmerdam wrote:
> 
> What I would like to do is build a DLL with everything except the mainline
> code in it so each of the executables is small.  Then the whole foot print
> for including MapServer would be about 3MB instead of the 21MB if I want to
> include all the utilities.  If folks prefer to keep mapserv.exe simple, I
> would be ok with linking everything into it normally, but using a DLL 
> for the
> other utilities.  That would put the footprint at around 6MB.
> 

I like the idea, but as you wrote, it could be nice to keep mapserv.exe 
as a static executable.  Would it be possible to have an option in the 
makefile to easily switch from static to dynamic linking?

I don't use Windows myself though, so I perhaps Assefa would have more 
comments.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-dev mailing list