<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>n8blog &#187; C</title>
	<atom:link href="http://www.n8gray.org/blog/category/hacking/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.n8gray.org</link>
	<description>distraction in action</description>
	<lastBuildDate>Thu, 01 Jul 2010 18:21:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>GCC Preprocessor Defines</title>
		<link>http://www.n8gray.org/blog/2004/07/27/gcc-preprocessor-defines/</link>
		<comments>http://www.n8gray.org/blog/2004/07/27/gcc-preprocessor-defines/#comments</comments>
		<pubDate>Tue, 27 Jul 2004 07:14:00 +0000</pubDate>
		<dc:creator>n8</dc:creator>
				<category><![CDATA[C]]></category>

		<guid isPermaLink="false">http://www.n8gray.org/sandbox/wordpress/?p=74</guid>
		<description><![CDATA[Here&apos;s a useful tidbit that I thought I would share.  If you want to find out
all of the built-in #define&apos;s that GCC gives you, try this:

touch dummy_file.c; gcc -E -dM dummy_file.c

On recent versions of GCC this will give you a list of all the predefined
macros.  On older systems (I don&apos;t know how far [...]]]></description>
			<content:encoded><![CDATA[<p>Here&apos;s a useful tidbit that I thought I would share.  If you want to find out
all of the built-in #define&apos;s that <span class="caps">GCC </span>gives you, try this:<br />
</p>
<code>touch dummy_file.c; gcc -E -dM dummy_file.c</code>

<p>On recent versions of <span class="caps">GCC </span>this will give you a list of all the predefined
macros.  On older systems (I don&apos;t know how far back) you can try this:<br />
</p>
<code>gcc -dumpspecs</code>

<p>It&apos;s harder to read, but many of the platform-specific macros are in there.<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.n8gray.org%2Fblog%2F2004%2F07%2F27%2Fgcc-preprocessor-defines%2F&amp;linkname=GCC%20Preprocessor%20Defines"><img src="http://www.n8gray.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.n8gray.org/blog/2004/07/27/gcc-preprocessor-defines/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
