<?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>Linking | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/linking/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Tue, 20 Oct 2020 18:26:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>Linking | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>Compiling and linking C</title>
		<link>https://learncgames.com/compiling-and-linking-c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=compiling-and-linking-c</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Thu, 22 Oct 2020 23:00:51 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[compiling]]></category>
		<category><![CDATA[Linking]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=1656</guid>

					<description><![CDATA[<p>So, if you are new to programming Compiling and linking can seem like magic. The compiler transforms C source code files into obj files. The actual format is different depending on the CPU and Operating system.  Linking is even more magic because it takes a bunch of obj files and produces a single executable. There&#8217;s [&#8230;]</p>
The post <a href="https://learncgames.com/compiling-and-linking-c/">Compiling and linking C</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><script type='application/json' class='__iawmlf-post-loop-links'>[{"id":432,"href":"https:\/\/pixabay.com\/users\/fancycrave1-1115284\/?utm_source=link-attribution&utm_medium=referral&utm_campaign=image&utm_content=820275","archived_href":"http:\/\/web-wp.archive.org\/web\/20251222083909\/https:\/\/pixabay.com\/users\/fancycrave1-1115284\/?utm_source=link-attribution","redirect_href":"","checks":[{"date":"2026-02-06 14:53:54","http_code":403},{"date":"2026-02-10 21:51:57","http_code":403},{"date":"2026-02-14 21:43:07","http_code":403},{"date":"2026-02-18 01:05:54","http_code":403},{"date":"2026-02-21 19:12:50","http_code":403},{"date":"2026-02-25 21:04:44","http_code":403},{"date":"2026-03-01 12:55:33","http_code":403},{"date":"2026-03-05 04:43:34","http_code":403},{"date":"2026-03-08 20:34:14","http_code":403},{"date":"2026-03-12 04:26:01","http_code":403},{"date":"2026-03-15 12:17:10","http_code":403},{"date":"2026-03-18 20:02:56","http_code":403},{"date":"2026-03-22 11:52:48","http_code":403},{"date":"2026-03-25 19:39:25","http_code":403},{"date":"2026-03-29 03:24:56","http_code":403},{"date":"2026-04-01 11:15:21","http_code":403},{"date":"2026-04-04 19:04:34","http_code":403},{"date":"2026-04-08 01:27:00","http_code":403},{"date":"2026-04-11 18:45:11","http_code":403},{"date":"2026-04-15 18:34:46","http_code":403},{"date":"2026-04-19 02:24:05","http_code":403},{"date":"2026-04-22 10:14:26","http_code":403},{"date":"2026-04-25 18:05:37","http_code":403},{"date":"2026-04-29 09:56:56","http_code":403},{"date":"2026-05-08 10:28:57","http_code":403}],"broken":true,"last_checked":{"date":"2026-05-08 10:28:57","http_code":403},"process":"done"},{"id":433,"href":"https:\/\/pixabay.com\/?utm_source=link-attribution&utm_medium=referral&utm_campaign=image&utm_content=820275","archived_href":"http:\/\/web-wp.archive.org\/web\/20260205102120\/https:\/\/pixabay.com\/?utm_source=link-attribution","redirect_href":"","checks":[{"date":"2026-02-06 14:53:59","http_code":403},{"date":"2026-02-10 21:52:01","http_code":403},{"date":"2026-02-14 13:43:18","http_code":403},{"date":"2026-02-18 01:05:54","http_code":403},{"date":"2026-02-21 19:12:49","http_code":403},{"date":"2026-02-25 13:05:50","http_code":403},{"date":"2026-03-01 04:55:56","http_code":403},{"date":"2026-03-04 20:44:19","http_code":403},{"date":"2026-03-07 22:12:56","http_code":403},{"date":"2026-03-11 12:26:52","http_code":403},{"date":"2026-03-14 20:18:08","http_code":403},{"date":"2026-03-18 04:06:39","http_code":403},{"date":"2026-03-21 19:54:31","http_code":403},{"date":"2026-03-25 03:42:25","http_code":403},{"date":"2026-03-28 07:04:10","http_code":403},{"date":"2026-04-01 03:15:39","http_code":403},{"date":"2026-04-04 11:06:29","http_code":403},{"date":"2026-04-08 01:26:56","http_code":403},{"date":"2026-04-11 18:45:10","http_code":403},{"date":"2026-04-15 02:35:03","http_code":403},{"date":"2026-04-18 10:27:46","http_code":403},{"date":"2026-04-21 18:16:45","http_code":403},{"date":"2026-04-25 02:08:56","http_code":403},{"date":"2026-04-28 17:59:29","http_code":403},{"date":"2026-05-02 03:31:57","http_code":403},{"date":"2026-05-08 10:28:57","http_code":403}],"broken":true,"last_checked":{"date":"2026-05-08 10:28:57","http_code":403},"process":"done"},{"id":434,"href":"https:\/\/hackthedeveloper.com\/c-program-compilation-process","archived_href":"http:\/\/web-wp.archive.org\/web\/20250315082427\/https:\/\/hackthedeveloper.com\/c-program-compilation-process\/","redirect_href":"","checks":[{"date":"2026-02-06 14:54:10","http_code":503},{"date":"2026-02-10 13:52:45","http_code":503},{"date":"2026-02-14 05:44:55","http_code":503},{"date":"2026-02-17 21:33:02","http_code":503},{"date":"2026-02-21 19:12:54","http_code":503},{"date":"2026-02-25 05:07:08","http_code":503},{"date":"2026-02-28 20:57:04","http_code":503},{"date":"2026-03-04 12:44:59","http_code":503},{"date":"2026-03-07 16:37:35","http_code":503},{"date":"2026-03-11 12:26:56","http_code":503},{"date":"2026-03-14 20:18:13","http_code":503},{"date":"2026-03-18 04:06:44","http_code":503},{"date":"2026-03-21 19:54:35","http_code":503},{"date":"2026-03-25 03:42:32","http_code":503},{"date":"2026-03-28 07:04:12","http_code":503},{"date":"2026-04-01 02:43:02","http_code":503},{"date":"2026-04-04 11:06:33","http_code":503},{"date":"2026-04-08 01:27:07","http_code":503},{"date":"2026-04-11 18:45:17","http_code":503},{"date":"2026-04-15 10:34:24","http_code":503},{"date":"2026-04-18 18:25:50","http_code":503},{"date":"2026-04-22 02:16:15","http_code":503},{"date":"2026-04-25 10:07:33","http_code":503},{"date":"2026-04-29 01:58:29","http_code":200},{"date":"2026-05-04 18:06:18","http_code":200},{"date":"2026-05-08 10:28:57","http_code":200}],"broken":false,"last_checked":{"date":"2026-05-08 10:28:57","http_code":200},"process":"done"}]</script><figure id="attachment_1657" aria-describedby="caption-attachment-1657" style="width: 300px" class="wp-caption alignleft"><img fetchpriority="high" decoding="async" class="size-medium wp-image-1657" src="https://learncgames.com/wp-content/uploads/2020/10/code-820275_640-300x200.jpg" alt="Code" width="300" height="200" srcset="https://learncgames.com/wp-content/uploads/2020/10/code-820275_640-300x200.jpg 300w, https://learncgames.com/wp-content/uploads/2020/10/code-820275_640.jpg 640w" sizes="(max-width: 300px) 100vw, 300px" /><figcaption id="caption-attachment-1657" class="wp-caption-text">Image by <a href="https://pixabay.com/users/fancycrave1-1115284/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=820275">fancycrave1</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=820275">Pixabay</a></figcaption></figure></p>
<p>So, if you are new to programming Compiling and linking can seem like magic. The compiler transforms C source code files into obj files. The actual format is different depending on the CPU and Operating system.  Linking is even more magic because it takes a bunch of obj files and produces a single executable.</p>
<p>There&#8217;s actual more magic going on than my simplistic explanation. The compiler might be doing optimisation (generally in release mode but not debug). That makes debug compiles faster which is more desirable.</p>
<p>Another blog called <a title="Link to Hack the developer article about compiling" href="https://hackthedeveloper.com/c-program-compilation-process/" target="_blank" rel="nofollow noopener noreferrer">Hack the developer</a> has published an article with a lot more detail about compiling and linking. If you want to get a better understanding then this is a petty good piece. It uses Linux, GCC and Clang as examples. It also goes into more depth on the layout of obj files.</p>The post <a href="https://learncgames.com/compiling-and-linking-c/">Compiling and linking C</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1656</post-id>	</item>
	</channel>
</rss>
