You can try using Pelle's MS compatible linker Polink, it creates smaller executables compared to MS link. Plus,when you build DLLs, you get import libs with smaller size. In your example, polink outputs an import lib of 1528 bytes. (MS link : 2040 bytes)

Hutch included polink in masm32V8.1 package. Also, you can get the latest version of polink from Pelle's website:

Another advantage, polink has the same command line switches of MS link.
Posted on 2004-03-27 05:04:12 by Vortex
Thanks :alright:

It doesn't like the /FILEALIGN:512 that I had previously added for the ms linker. Is this something that polink sets automatically internally?

Posted on 2004-03-29 08:22:47 by mastermind
You are welcome. Yes, maybe polink sets it intenally. You can contact the author of the tool, Pelle Orinius to get more technical information.
Posted on 2004-03-29 10:51:51 by Vortex