<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : VS10 creates bloated static libs</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : VS10 creates bloated static libs]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 04:53:34 +0000</pubDate>
  <lastBuildDate>Wed, 12 May 2010 04:30:23 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=16681</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[VS10 creates bloated static libs : Also, make sure you have NO references...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58452&amp;title=vs10-creates-bloated-static-libs#58452</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 16681<br /><strong>Posted:</strong> 12 May 2010 at 4:30am<br /><br />Also, make sure you have NO references to <strong>afxcontrolbars.h</strong> or <strong>CWinAppEx</strong>.]]>
   </description>
   <pubDate>Wed, 12 May 2010 04:30:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58452&amp;title=vs10-creates-bloated-static-libs#58452</guid>
  </item> 
  <item>
   <title><![CDATA[VS10 creates bloated static libs : If you&amp;#039;re linking statically...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58451&amp;title=vs10-creates-bloated-static-libs#58451</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 16681<br /><strong>Posted:</strong> 12 May 2010 at 4:02am<br /><br />If you're linking statically with MFC, then you will get bloat in VS 2008 SP1 and VS 2010. This is due to the ribbon graphics included in the new versions of MFC.]]>
   </description>
   <pubDate>Wed, 12 May 2010 04:02:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58451&amp;title=vs10-creates-bloated-static-libs#58451</guid>
  </item> 
  <item>
   <title><![CDATA[VS10 creates bloated static libs : Nope, no problem with VS2008 SP1. ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58446&amp;title=vs10-creates-bloated-static-libs#58446</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3002">rconn</a><br /><strong>Subject:</strong> 16681<br /><strong>Posted:</strong> 11 May 2010 at 6:43pm<br /><br />Nope, no problem with VS2008 SP1.<DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 11 May 2010 18:43:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58446&amp;title=vs10-creates-bloated-static-libs#58446</guid>
  </item> 
  <item>
   <title><![CDATA[VS10 creates bloated static libs : Are you using VS2008 or VS2008...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58429&amp;title=vs10-creates-bloated-static-libs#58429</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 16681<br /><strong>Posted:</strong> 11 May 2010 at 9:50am<br /><br />Are you using VS2008 or VS2008 SP1? My guess is that you get the same bloat in VS2008 SP1.]]>
   </description>
   <pubDate>Tue, 11 May 2010 09:50:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58429&amp;title=vs10-creates-bloated-static-libs#58429</guid>
  </item> 
  <item>
   <title><![CDATA[VS10 creates bloated static libs : I wonder if the MFC lib is compiled...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58417&amp;title=vs10-creates-bloated-static-libs#58417</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 16681<br /><strong>Posted:</strong> 10 May 2010 at 9:19pm<br /><br />I wonder if the MFC lib is compiled with /Gy (or if there's some reason it can't be).<br><br>]]>
   </description>
   <pubDate>Mon, 10 May 2010 21:19:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58417&amp;title=vs10-creates-bloated-static-libs#58417</guid>
  </item> 
  <item>
   <title><![CDATA[VS10 creates bloated static libs : I always use /Gy. It doesn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58414&amp;title=vs10-creates-bloated-static-libs#58414</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3002">rconn</a><br /><strong>Subject:</strong> 16681<br /><strong>Posted:</strong> 10 May 2010 at 7:19pm<br /><br />I always use /Gy.&nbsp; It doesn't help in this case.<DIV></DIV>]]>
   </description>
   <pubDate>Mon, 10 May 2010 19:19:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58414&amp;title=vs10-creates-bloated-static-libs#58414</guid>
  </item> 
  <item>
   <title><![CDATA[VS10 creates bloated static libs :  I always include debug info...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58411&amp;title=vs10-creates-bloated-static-libs#58411</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 16681<br /><strong>Posted:</strong> 10 May 2010 at 12:26pm<br /><br />I always include debug info in .LIBs, so that it gets propagated to the final .PDB and .MAP generated with the .EXE, making dumps readable. (I don't distribute the PDB or MAP.)<br><br>For a smaller EXE, you may want to turn on function-level linking (<b>/Gy</b> in the compiler),&nbsp; so that unreferenced code doesn't get in the EXE. I don't know of anything this breaks, unless you're doing some weird stuff with pointers to functions or methods. I do this for all projects.<br><br>That note from Microsoft seems rather odd; I wonder if the MFC libraries are being compiled /Gy, or if they're just doing something else wrong.<br><br>]]>
   </description>
   <pubDate>Mon, 10 May 2010 12:26:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58411&amp;title=vs10-creates-bloated-static-libs#58411</guid>
  </item> 
  <item>
   <title><![CDATA[VS10 creates bloated static libs : That might be part of it, though...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58404&amp;title=vs10-creates-bloated-static-libs#58404</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3002">rconn</a><br /><strong>Subject:</strong> 16681<br /><strong>Posted:</strong> 10 May 2010 at 9:34am<br /><br />That might be part of it, though the Codejock-supplied projects were also including debug info in the VS2010&nbsp;release builds.&nbsp; When I took that option out, the Codejock libs dropped 30mb+ in size.&nbsp; That reduced my release build size significantly, though it was still bigger than VS2008 (presumably because of VS2010 &amp; static linking).<DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 10 May 2010 09:34:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58404&amp;title=vs10-creates-bloated-static-libs#58404</guid>
  </item> 
  <item>
   <title><![CDATA[VS10 creates bloated static libs : I assume this has to do with VS...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58402&amp;title=vs10-creates-bloated-static-libs#58402</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=800">eddiepaz</a><br /><strong>Subject:</strong> 16681<br /><strong>Posted:</strong> 10 May 2010 at 9:05am<br /><br /><P>I assume this has to do with VS 2010 creating bloated executables when statically compiling. A simple dialog application is now 1.6MB, and MS says it's because of the new features. &lt;g&gt;</P><DIV><a href="http://c&#111;nnect.microsoft.com/VisualStudio/feedback/details/461441/mfc-static-lib-link-exe-size-too-large" target="_blank">http://connect.microsoft.com/VisualStudio/feedback/details/461441/mfc-static-lib-link-exe-size-too-large</A></DIV>]]>
   </description>
   <pubDate>Mon, 10 May 2010 09:05:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58402&amp;title=vs10-creates-bloated-static-libs#58402</guid>
  </item> 
  <item>
   <title><![CDATA[VS10 creates bloated static libs : Using 13.3.1 and VS2010.  I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58388&amp;title=vs10-creates-bloated-static-libs#58388</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3002">rconn</a><br /><strong>Subject:</strong> 16681<br /><strong>Posted:</strong> 09 May 2010 at 4:54pm<br /><br />Using 13.3.1 and VS2010.<DIV>&nbsp;</DIV><DIV>I converted from 13.2.1 to 13.3.1 and switched to VS2010 at the same time.&nbsp; After rebuilding&nbsp;everything I found that my release .exe's had increased 50% in size.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>I'm statically linking 13.3.1.&nbsp; Looking at the libs I see that the Codejock *SU.LIB file has increased 40-50% in size using VS2010 versus the same lib using VS2008 (and is nearly the size of the debug lib).&nbsp; The debug&nbsp;lib (*SUD.LIB) is roughly&nbsp;the same size as in VS2008.</DIV><DIV>&nbsp;</DIV><DIV>I presume something is misconfigured in the VS2010 release properties.</DIV>]]>
   </description>
   <pubDate>Sun, 09 May 2010 16:54:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16681&amp;PID=58388&amp;title=vs10-creates-bloated-static-libs#58388</guid>
  </item> 
 </channel>
</rss>