<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: links</title>
	<atom:link href="http://www.coranac.com/links/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.coranac.com</link>
	<description>my own little world</description>
	<pubDate>Tue, 06 Jan 2009 06:18:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Good boy</title>
		<link>http://www.coranac.com/links/#comment-1964</link>
		<dc:creator>Good boy</dc:creator>
		<pubDate>Tue, 23 Sep 2008 14:32:23 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/index.php/favorite-links/#comment-1964</guid>
		<description>Anyway, you help me much.
I like your tonic.

Maybe I have still have a lot of question to ask you in the future. :)
Please don't be annoyed with me for asking these questions which maybe you think so easy.</description>
		<content:encoded><![CDATA[<p>Anyway, you help me much.<br />
I like your tonic.</p>
<p>Maybe I have still have a lot of question to ask you in the future. :)<br />
Please don&#8217;t be annoyed with me for asking these questions which maybe you think so easy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cearn</title>
		<link>http://www.coranac.com/links/#comment-1958</link>
		<dc:creator>cearn</dc:creator>
		<pubDate>Mon, 22 Sep 2008 17:06:18 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/index.php/favorite-links/#comment-1958</guid>
		<description>To be honest, I'm not sure what -g does exactly for the object (and ELF) files, but it seems to do something. I do know what effect it has on the generated assembly: it adds &lt;code&gt;.loc&lt;/code&gt; directives everywhere. These seem to carry the line number in the source code, presumably to be used for breakpoints. For more details you'll have to go to the manual I'm afraid.</description>
		<content:encoded><![CDATA[<p>To be honest, I&#8217;m not sure what -g does exactly for the object (and ELF) files, but it seems to do something. I do know what effect it has on the generated assembly: it adds <code>.loc</code> directives everywhere. These seem to carry the line number in the source code, presumably to be used for breakpoints. For more details you&#8217;ll have to go to the manual I&#8217;m afraid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Good boy</title>
		<link>http://www.coranac.com/links/#comment-1955</link>
		<dc:creator>Good boy</dc:creator>
		<pubDate>Sun, 21 Sep 2008 14:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/index.php/favorite-links/#comment-1955</guid>
		<description>Thank Cearn very much! Your answer helps me so much!

But I still have one question. As you said, part of the extra information in the ELF file is debugger information, which could be helpful when running with gdb. I remember that the "-g" option of GCC on Linux platform can produce extra debugging information. What is the different between these two commands "gcc -g -o file file.c" and "gcc -o file file.c" in Linux OS? Does the ELF file contain more debugging information if you add "-g" option when you complie the source codes?

Thank you so much.</description>
		<content:encoded><![CDATA[<p>Thank Cearn very much! Your answer helps me so much!</p>
<p>But I still have one question. As you said, part of the extra information in the ELF file is debugger information, which could be helpful when running with gdb. I remember that the &#8220;-g&#8221; option of GCC on Linux platform can produce extra debugging information. What is the different between these two commands &#8220;gcc -g -o file file.c&#8221; and &#8220;gcc -o file file.c&#8221; in Linux OS? Does the ELF file contain more debugging information if you add &#8220;-g&#8221; option when you complie the source codes?</p>
<p>Thank you so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cearn</title>
		<link>http://www.coranac.com/links/#comment-1954</link>
		<dc:creator>cearn</dc:creator>
		<pubDate>Sun, 21 Sep 2008 11:07:21 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/index.php/favorite-links/#comment-1954</guid>
		<description>An &lt;a href="http://en.wikipedia.org/wiki/Executable_and_Linkable_Format" rel="nofollow"&gt;ELF&lt;/a&gt; file is the general file format that GCC uses for tis binary output. The object files (.o) are also ELF files, but with a different extension. ELF file don't just contain the real bits of the program but also link-section information, function names, and a host of other things. If you compare the file sizes of an ELF and its GBA file, you'll see that the ELF is much bigger.

The GBA does not expect all that extra stuff and doesn't know what to do with it. In other words, it wouldn't run. The objcopy tool strips all the excess information.

I think there's a linker flag that strips the binary down to the raw bits and bytes, but I've never really examined what it does. Also, part of the extra information in the ELF file is debugger information, which could be helpful when running with gdb.</description>
		<content:encoded><![CDATA[<p>An <a href="http://en.wikipedia.org/wiki/Executable_and_Linkable_Format" rel="nofollow">ELF</a> file is the general file format that GCC uses for tis binary output. The object files (.o) are also ELF files, but with a different extension. ELF file don&#8217;t just contain the real bits of the program but also link-section information, function names, and a host of other things. If you compare the file sizes of an ELF and its GBA file, you&#8217;ll see that the ELF is much bigger.</p>
<p>The GBA does not expect all that extra stuff and doesn&#8217;t know what to do with it. In other words, it wouldn&#8217;t run. The objcopy tool strips all the excess information.</p>
<p>I think there&#8217;s a linker flag that strips the binary down to the raw bits and bytes, but I&#8217;ve never really examined what it does. Also, part of the extra information in the ELF file is debugger information, which could be helpful when running with gdb.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Good boy</title>
		<link>http://www.coranac.com/links/#comment-1948</link>
		<dc:creator>Good boy</dc:creator>
		<pubDate>Sat, 20 Sep 2008 11:50:08 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/index.php/favorite-links/#comment-1948</guid>
		<description>Dear   Cearn,
    I have one question about GBA programming. why a *.elf file is made before a *.gba file made? what is the relationship between them?  Thanks.</description>
		<content:encoded><![CDATA[<p>Dear   Cearn,<br />
    I have one question about GBA programming. why a *.elf file is made before a *.gba file made? what is the relationship between them?  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Good boy</title>
		<link>http://www.coranac.com/links/#comment-71</link>
		<dc:creator>Good boy</dc:creator>
		<pubDate>Tue, 05 Feb 2008 08:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/index.php/favorite-links/#comment-71</guid>
		<description>Tonc is a wonderful tutorial!!</description>
		<content:encoded><![CDATA[<p>Tonc is a wonderful tutorial!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: one person</title>
		<link>http://www.coranac.com/links/#comment-7</link>
		<dc:creator>one person</dc:creator>
		<pubDate>Fri, 30 Nov 2007 15:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/index.php/favorite-links/#comment-7</guid>
		<description>Now I realize why I counld not access to www.gbadev.org in the pass. I can deal with this by useing proxy.
Thank you for your comments.(My English is not good. There may be some mistakes here.Please forgive me.)</description>
		<content:encoded><![CDATA[<p>Now I realize why I counld not access to <a href="http://www.gbadev.org" rel="nofollow">http://www.gbadev.org</a> in the pass. I can deal with this by useing proxy.<br />
Thank you for your comments.(My English is not good. There may be some mistakes here.Please forgive me.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cearn</title>
		<link>http://www.coranac.com/links/#comment-2</link>
		<dc:creator>cearn</dc:creator>
		<pubDate>Sun, 18 Nov 2007 20:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/index.php/favorite-links/#comment-2</guid>
		<description>www.gbadev.org works fine from here. Could have been a temporary glitch.</description>
		<content:encoded><![CDATA[<p><a href="http://www.gbadev.org" rel="nofollow">http://www.gbadev.org</a> works fine from here. Could have been a temporary glitch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: one person</title>
		<link>http://www.coranac.com/links/#comment-1</link>
		<dc:creator>one person</dc:creator>
		<pubDate>Fri, 16 Nov 2007 18:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/index.php/favorite-links/#comment-1</guid>
		<description>Why I can't open www.gbadev.org ? Have it changed website?</description>
		<content:encoded><![CDATA[<p>Why I can&#8217;t open <a href="http://www.gbadev.org" rel="nofollow">http://www.gbadev.org</a> ? Have it changed website?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
