more on: DLL's suddenly grow in size

Additional data: These are pure Win32 DLL’s - no MFC anywhere. They are
using the multithreaded DLL versions of the runtime libraries.

At 03:50 PM 11/20/2000 -0800, you wrote:

I need a quick kick-start on this problem. We just moved an NT4 machine from
VC4.2 to VC6, and suddenly Release DLL’s which were compiling at 7-8KB are
in the 20KB+ range. They appear to work properly, and all of the project
settings appear correct (and identical to their VC4.2 settings), yet the
resulting DLL’s have gotten a lot bigger. I confirmed we’re referencing the
DLL versions of the libraries, so we’re not statically linking in the
library routines. Any other ideas of what might be going on here?

Two things that come immediately to mind are optimizations and the
incremental linker. The ‘maximize speed’ setting for VC6 generates a lot
bigger (but presumably faster) code than the same option on VC4.2. I’ve
also noticed different results for the /Ob inline expansion option.

Incremental linking also seems to generate a lot more bloated bin file with
VC6. I usually turn it off.

-----Original Message-----
From: Richard Hartman [mailto:xxxxx@realresume.com]
Sent: Monday, November 20, 2000 3:58 PM
To: NT Developers Interest List
Subject: [ntdev] more on: DLL’s suddenly grow in size

Additional data: These are pure Win32 DLL’s - no MFC anywhere. They are
using the multithreaded DLL versions of the runtime libraries.

At 03:50 PM 11/20/2000 -0800, you wrote:

I need a quick kick-start on this problem. We just moved an NT4 machine
from
VC4.2 to VC6, and suddenly Release DLL’s which were compiling at 7-8KB are
in the 20KB+ range. They appear to work properly, and all of the project
settings appear correct (and identical to their VC4.2 settings), yet the
resulting DLL’s have gotten a lot bigger. I confirmed we’re referencing the
DLL versions of the libraries, so we’re not statically linking in the
library routines. Any other ideas of what might be going on here?


You are currently subscribed to ntdev as: xxxxx@eTree.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)