MSVC 6 is not smart enough to figure out on its own when vtables can be safely omitted, and a lot of wasted space seem to be taken up by these unused vtables. I've added a bunch of __declspec(novtable) to the latest code in CVS. Please try it out. It should reduce the size signficantly.
On Thu, May 15, 2003 at 07:19:14PM -0400, John Stewart wrote: > > ----- Original Message ----- > From: "Steve Dispensa" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, May 15, 2003 6:51 PM > Subject: Re: trying to make my crypto++ using executable smaller > > > > Are you using /opt:ref on the linker command line? you might try it if > > you're not. > > No I wasn't. Thanks for the hint. I added it and it shrunk the non > crypto version by about 20000 bytes. But it didn't budge the size when the > crypto stuff is included. It remained exactly 450560 bytes. > > John Stewart >
