c++ - Why is generating pdb file causing static linked library to increase largely in size? -



c++ - Why is generating pdb file causing static linked library to increase largely in size? -

while building little application (lzo) noticed release build did not produce pdb file. tend generated (but not necessary deploy) pdb files along libs itself.

now used /zi switch turn on pdb file , notice 1 oddity. pdb file generated fine ~100kb static linker lib grew 259 kb 622 kb , not understand why.

here related thread give-and-take growth of executables not build final executable there no code not beingness optimized away (/opt:noref switch).

i expected pdb file contain addresses of part of code belongs source etc , of course of study expected lib file contain compiled path of pdb location reading bigger lib hex editor revealed big amount of visual studio paths, own include paths, etc beingness compiled it. plus non text binary data. why in lib , not in pdb causing lib grow?

c++ visual-c++

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -