<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Smallest application size for win32 console application</title>
	<link>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/</link>
	<description>Infos about Windows development and dotNET Framework</description>
	<pubDate>Mon, 21 May 2012 08:02:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Random T.</title>
		<link>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-222</link>
		<dc:creator>Random T.</dc:creator>
		<pubDate>Fri, 24 Apr 2009 11:04:41 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-222</guid>
		<description>Hey, nice tips. Perhaps I'll buy a bottle of beer to the man from that forum who told me to go to your site :)</description>
		<content:encoded><![CDATA[<p>Hey, nice tips. Perhaps I&#8217;ll buy a bottle of beer to the man from that forum who told me to go to your site <img src='http://blog.kalmbach-software.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hamid</title>
		<link>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-192</link>
		<dc:creator>Hamid</dc:creator>
		<pubDate>Sat, 28 Mar 2009 19:53:12 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-192</guid>
		<description>thank you so much</description>
		<content:encoded><![CDATA[<p>thank you so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jkalmbach</title>
		<link>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-189</link>
		<dc:creator>jkalmbach</dc:creator>
		<pubDate>Sat, 28 Mar 2009 08:20:23 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-189</guid>
		<description>These are linker options!:

cl /c /O1 /GS- smallest.cpp
link /subsystem:console /MERGE:.rdata=.text /ALIGN:16 smallest.obj kernel32.lib</description>
		<content:encoded><![CDATA[<p>These are linker options!:</p>
<p>cl /c /O1 /GS- smallest.cpp<br />
link /subsystem:console /MERGE:.rdata=.text /ALIGN:16 smallest.obj kernel32.lib</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hamid</title>
		<link>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-188</link>
		<dc:creator>Hamid</dc:creator>
		<pubDate>Fri, 27 Mar 2009 22:44:45 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-188</guid>
		<description>Thanks Jochen. seems like mine doesn't understand /ALIGN and /MERGE.
what should i do?

C:\Users\Administrator\Desktop&#62;cl /c /O1 /GS- /ALIGN:16 /MERGE:.rdata=.text main
.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '/ALIGN:16'
cl : Command line warning D9002 : ignoring unknown option '/MERGE:.rdata=.text'
main.cpp</description>
		<content:encoded><![CDATA[<p>Thanks Jochen. seems like mine doesn&#8217;t understand /ALIGN and /MERGE.<br />
what should i do?</p>
<p>C:\Users\Administrator\Desktop&gt;cl /c /O1 /GS- /ALIGN:16 /MERGE:.rdata=.text main<br />
.cpp<br />
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80&#215;86<br />
Copyright (C) Microsoft Corporation.  All rights reserved.</p>
<p>cl : Command line warning D9002 : ignoring unknown option &#8216;/ALIGN:16&#8242;<br />
cl : Command line warning D9002 : ignoring unknown option &#8216;/MERGE:.rdata=.text&#8217;<br />
main.cpp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: __chkstk? &#124; keyongtech</title>
		<link>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-156</link>
		<dc:creator>__chkstk? &#124; keyongtech</dc:creator>
		<pubDate>Sun, 18 Jan 2009 16:49:38 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-156</guid>
		<description>[...] It comes from this code  Security-Checks for the stack.  You need to compile with /GS- ! See also: http://blog.kalmbach-software.de/200...e-application/  Greetings [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] It comes from this code  Security-Checks for the stack.  You need to compile with /GS- ! See also: <a href="http://blog.kalmbach-software.de/200...e-application/" rel="nofollow">http://blog.kalmbach-software.de/200&#8230;e-application/</a>  Greetings [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jkalmbach</title>
		<link>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-8</link>
		<dc:creator>jkalmbach</dc:creator>
		<pubDate>Sun, 03 Feb 2008 09:17:37 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-8</guid>
		<description>Yes, I did forget the /MERGE option! The NOWIN98 is not supported anymore (VS2008) and has no effect. The merging of both section will reduce the size to 1024 bytes.

Also the usage of "/ALIGN:16" will reduce the size to 688 bytes!

Thanks for your comment Koro!</description>
		<content:encoded><![CDATA[<p>Yes, I did forget the /MERGE option! The NOWIN98 is not supported anymore (VS2008) and has no effect. The merging of both section will reduce the size to 1024 bytes.</p>
<p>Also the usage of &#8220;/ALIGN:16&#8243; will reduce the size to 688 bytes!</p>
<p>Thanks for your comment Koro!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Koro</title>
		<link>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-7</link>
		<dc:creator>Koro</dc:creator>
		<pubDate>Sun, 03 Feb 2008 02:11:18 +0000</pubDate>
		<guid>http://blog.kalmbach-software.de/2008/02/02/smallest-application-size-for-win32-console-application/#comment-7</guid>
		<description>You forgot /OPT:NOWIN98 and /MERGE:.rdata=.text :) It can be brought down to 1kb easily.

Now if one does not care about Win9x compatibility, you can use /ALIGN:16 too.</description>
		<content:encoded><![CDATA[<p>You forgot /OPT:NOWIN98 and /MERGE:.rdata=.text <img src='http://blog.kalmbach-software.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> It can be brought down to 1kb easily.</p>
<p>Now if one does not care about Win9x compatibility, you can use /ALIGN:16 too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

