Application size seems very large
Application size seems very large
Is it normal to have a large application file when statically linking even if I am creating a basic program? I thought unreferenced functions where optimized out on release builds. I have a 3.3mb exe that is basically just a starting point dialog.
Re: Application size seems very large
Your best hope for small executables is to link dynamically. ImageMagick calls hundreds of methods as part of its startup including all coder modules so static linking dependencies are quite large as you have experienced. You can of course trim the size by eliminating the calls from magick/static.c of any coder you are not interested in using.