<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: DJGPP on DOSBOX&#8230;	</title>
	<atom:link href="https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Sun, 20 Mar 2016 08:31:26 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>
		By: neozeed		</title>
		<link>https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-162368</link>

		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sun, 20 Mar 2016 08:31:26 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=199#comment-162368</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-162328&quot;&gt;Neil Roy&lt;/a&gt;.

for the quake2 port to MS-DOS I just used a cross compiler from OS X to DJGPP, and Win32 to DJGPP.  It&#039;s so much faster to run the compiler from an OS that can handle &quot;large&quot; files, or the dozens of includes.

Have you thought about a SDL/modern port?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-162328">Neil Roy</a>.</p>
<p>for the quake2 port to MS-DOS I just used a cross compiler from OS X to DJGPP, and Win32 to DJGPP.  It&#8217;s so much faster to run the compiler from an OS that can handle &#8220;large&#8221; files, or the dozens of includes.</p>
<p>Have you thought about a SDL/modern port?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Neil Roy		</title>
		<link>https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-162328</link>

		<dc:creator><![CDATA[Neil Roy]]></dc:creator>
		<pubDate>Sat, 19 Mar 2016 21:20:22 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=199#comment-162328</guid>

					<description><![CDATA[I haven&#039;t tried this yet, but back in the day (&#039;90s) I created my first Deluxe Pacman game (http://home.cogeco.ca/~nroy15/games_index.html scroll down and look for v1.02 for DOS if you&#039;re curious) I used DJGPP + Allegro which is really easy to compile under DOS with no dependencies I don&#039;t  think.  I used to target 386 machines back then and it still runs under DOSBOX to this day.  It was optimized at that time with -O2.  I will probably set this up and try my hand at recompiling the same project using DOSBOX just for fun.  I really don&#039;t see a need to go for the newest GCC out there, not when compiling for DOS.  Give Allegro 4 a try anyhow, you can still grab the source for Allegro 4.2 (don&#039;t do a newer version unless you enjoy headaches) and it&#039;s very simple to compile the lib and it has everything you need, sound, input, graphics etc.. ALL my Deluxe Pacman games (1 and now 2) were made with it.]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t tried this yet, but back in the day (&#8217;90s) I created my first Deluxe Pacman game (<a href="http://home.cogeco.ca/~nroy15/games_index.html" rel="nofollow ugc">http://home.cogeco.ca/~nroy15/games_index.html</a> scroll down and look for v1.02 for DOS if you&#8217;re curious) I used DJGPP + Allegro which is really easy to compile under DOS with no dependencies I don&#8217;t  think.  I used to target 386 machines back then and it still runs under DOSBOX to this day.  It was optimized at that time with -O2.  I will probably set this up and try my hand at recompiling the same project using DOSBOX just for fun.  I really don&#8217;t see a need to go for the newest GCC out there, not when compiling for DOS.  Give Allegro 4 a try anyhow, you can still grab the source for Allegro 4.2 (don&#8217;t do a newer version unless you enjoy headaches) and it&#8217;s very simple to compile the lib and it has everything you need, sound, input, graphics etc.. ALL my Deluxe Pacman games (1 and now 2) were made with it.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Wes Lord		</title>
		<link>https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-1304</link>

		<dc:creator><![CDATA[Wes Lord]]></dc:creator>
		<pubDate>Tue, 20 Sep 2011 17:51:09 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=199#comment-1304</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-1230&quot;&gt;Jack&lt;/a&gt;.

Thanks a bunch for putting this information out there, Jack.  I tried to get DJGPP working in DOSBox a few weeks ago, and ran up against the same problem.  I wasn&#039;t able to find any relevant help on Google.  I even visited this very page, before you commented, but it never occured to me to try another version of GCC.

Today I decide to tackle the problem again, and Google brings me back here to find a new comment - I followed your advice (with GCC 4.44) and it worked!  So again, thanks!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-1230">Jack</a>.</p>
<p>Thanks a bunch for putting this information out there, Jack.  I tried to get DJGPP working in DOSBox a few weeks ago, and ran up against the same problem.  I wasn&#8217;t able to find any relevant help on Google.  I even visited this very page, before you commented, but it never occured to me to try another version of GCC.</p>
<p>Today I decide to tackle the problem again, and Google brings me back here to find a new comment &#8211; I followed your advice (with GCC 4.44) and it worked!  So again, thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jack		</title>
		<link>https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-1232</link>

		<dc:creator><![CDATA[Jack]]></dc:creator>
		<pubDate>Sat, 17 Sep 2011 02:26:36 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=199#comment-1232</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-1230&quot;&gt;Jack&lt;/a&gt;.

Also, don&#039;t forget to get both gcc442b.zip and gpp442b.zip if you are programming in C++...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-1230">Jack</a>.</p>
<p>Also, don&#8217;t forget to get both gcc442b.zip and gpp442b.zip if you are programming in C++&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: neozeed		</title>
		<link>https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-1231</link>

		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sat, 17 Sep 2011 01:56:27 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=199#comment-1231</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-1230&quot;&gt;Jack&lt;/a&gt;.

Hmm Invalid Opcode almost screams that it&#039;s been built to target a higher CPU than what DOSBox emulates... which shouldn&#039;t be that much of a surprise as DOSBox&#039;s primary market is vintage games of the 8086/80286/80386/80486 era...

It may be a matter of rebuilding GCC to target a lower CPU level ... or GCC 4.6 has moved beyond 80486/Pentium 1 instructions.........]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-1230">Jack</a>.</p>
<p>Hmm Invalid Opcode almost screams that it&#8217;s been built to target a higher CPU than what DOSBox emulates&#8230; which shouldn&#8217;t be that much of a surprise as DOSBox&#8217;s primary market is vintage games of the 8086/80286/80386/80486 era&#8230;</p>
<p>It may be a matter of rebuilding GCC to target a lower CPU level &#8230; or GCC 4.6 has moved beyond 80486/Pentium 1 instructions&#8230;&#8230;&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jack		</title>
		<link>https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-1230</link>

		<dc:creator><![CDATA[Jack]]></dc:creator>
		<pubDate>Sat, 17 Sep 2011 01:51:00 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=199#comment-1230</guid>

					<description><![CDATA[I wanted to let others know that DOSBox 0.74 with GCC 4.61 does not work, and when compiling the simplest hello world will result in an &quot;Invalid Opcode&quot; SIGILL.  I tried many settings, twiddling memory, etc until I simply grabbed the 4.42 version you mentioned above and it worked!  Thanks!

&lt;a href=&quot;ftp://ftp.delorie.com/pub/djgpp/deleted/v2gnu/gcc442b.zip&quot; rel=&quot;nofollow&quot;&gt;]]></description>
			<content:encoded><![CDATA[<p>I wanted to let others know that DOSBox 0.74 with GCC 4.61 does not work, and when compiling the simplest hello world will result in an &#8220;Invalid Opcode&#8221; SIGILL.  I tried many settings, twiddling memory, etc until I simply grabbed the 4.42 version you mentioned above and it worked!  Thanks!</p>
<p><a href="ftp://ftp.delorie.com/pub/djgpp/deleted/v2gnu/gcc442b.zip" rel="nofollow"></a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anonymous		</title>
		<link>https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-255</link>

		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Mon, 12 Jul 2010 17:30:22 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=199#comment-255</guid>

					<description><![CDATA[Hello again,&lt;br /&gt;&lt;br /&gt;Thanks for the help.&lt;br /&gt;&lt;br /&gt;LFN=NO in autoexec section of dosbox.conf did the trick.&lt;br /&gt;&lt;br /&gt;I then renamed the .info files from libc~1.inf (real name libc.info) to libc.inf to get online help in rhide.&lt;br /&gt;&lt;br /&gt;Thanks again.]]></description>
			<content:encoded><![CDATA[<p>Hello again,</p>
<p>Thanks for the help.</p>
<p>LFN=NO in autoexec section of dosbox.conf did the trick.</p>
<p>I then renamed the .info files from libc~1.inf (real name libc.info) to libc.inf to get online help in rhide.</p>
<p>Thanks again.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Neozeed		</title>
		<link>https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-247</link>

		<dc:creator><![CDATA[Neozeed]]></dc:creator>
		<pubDate>Wed, 16 Jun 2010 12:02:00 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=199#comment-247</guid>

					<description><![CDATA[Well the big plus DJGPP has is that it&#039;ll run on the native filesystem, so I don&#039;t have to use DOS edit to edit files... :)&lt;br /&gt;&lt;br /&gt;Also the f2c thing is part of a long running thing I&#039;ve been doing on using that on various platforms to see how &#039;portable&#039; the resulting code is... &lt;br /&gt;&lt;br /&gt;What binaries I&#039;ve collected are here:&lt;br /&gt;&lt;br /&gt;http://vpsland.superglobalmegacorp.com/install/f2c/&lt;br /&gt;&lt;br /&gt;Also what is the legal issues?]]></description>
			<content:encoded><![CDATA[<p>Well the big plus DJGPP has is that it&#39;ll run on the native filesystem, so I don&#39;t have to use DOS edit to edit files&#8230; 🙂</p>
<p>Also the f2c thing is part of a long running thing I&#39;ve been doing on using that on various platforms to see how &#39;portable&#39; the resulting code is&#8230; </p>
<p>What binaries I&#39;ve collected are here:</p>
<p><a href="http://vpsland.superglobalmegacorp.com/install/f2c/" rel="nofollow ugc">http://vpsland.superglobalmegacorp.com/install/f2c/</a></p>
<p>Also what is the legal issues?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rugxulo		</title>
		<link>https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-244</link>

		<dc:creator><![CDATA[Rugxulo]]></dc:creator>
		<pubDate>Wed, 16 Jun 2010 09:38:35 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=199#comment-244</guid>

					<description><![CDATA[BTW, you don&#039;t have to use f2c, try /v2gnu/gfor442b.zip . And if static linking bothers you (although it shouldn&#039;t), use UPX (--best --lzma --all-filters), tweak your libc, use -Os, or try the DJELF hack/port (although UPX doesn&#039;t support it). I&#039;m sure DXE/DXE3 works too, but it&#039;s probably a pain.&lt;br /&gt;&lt;br /&gt;P.S. Yes, FreeDOS-32 exists, stalled for a few years due to license and developer issues. It recently announced work resuming again, so hopes are good. (Or check out RDOS, which now has official OpenWatcom 1.9 support.)&lt;br /&gt;&lt;br /&gt;DJGPP and FreeDOS aren&#039;t dead, but NTVDM bugs, worse Windows limitations (Vista, 7) and AMD64 incompatibilities (no V86 mode!) don&#039;t help.  :-/]]></description>
			<content:encoded><![CDATA[<p>BTW, you don&#39;t have to use f2c, try /v2gnu/gfor442b.zip . And if static linking bothers you (although it shouldn&#39;t), use UPX (&#8211;best &#8211;lzma &#8211;all-filters), tweak your libc, use -Os, or try the DJELF hack/port (although UPX doesn&#39;t support it). I&#39;m sure DXE/DXE3 works too, but it&#39;s probably a pain.</p>
<p>P.S. Yes, FreeDOS-32 exists, stalled for a few years due to license and developer issues. It recently announced work resuming again, so hopes are good. (Or check out RDOS, which now has official OpenWatcom 1.9 support.)</p>
<p>DJGPP and FreeDOS aren&#39;t dead, but NTVDM bugs, worse Windows limitations (Vista, 7) and AMD64 incompatibilities (no V86 mode!) don&#39;t help.  :-/</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rugxulo		</title>
		<link>https://virtuallyfun.com/2010/02/11/djgpp-on-dosbox/comment-page-1/#comment-243</link>

		<dc:creator><![CDATA[Rugxulo]]></dc:creator>
		<pubDate>Wed, 16 Jun 2010 09:31:42 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=199#comment-243</guid>

					<description><![CDATA[DOSBox is the worst choice for compiling with DJGPP. It&#039;s not even barely as fast as a 486 (at best! very very very slow!), only geared towards games, and thus it has some bugs preventing &#034;real world&#034; use. (E.g. Last I tried, DOSBox doesn&#039;t truncate LFNs correctly to 8.3 when DJGPP looks for files, and that indeed will crash DOSBox.)&lt;br /&gt;&lt;br /&gt;If you are running this because your host OS is 64-bit (*shakes fist at no V86 mode*), you&#039;d do *much* much better with VirtualBox or DOSEMU (although sharing files under the former is hard).&lt;br /&gt;&lt;br /&gt;Drop by http://www.bttr-software.de/forum if you have HX questions (or just general DOS queries). A fair few of us luddites frequent there.]]></description>
			<content:encoded><![CDATA[<p>DOSBox is the worst choice for compiling with DJGPP. It&#39;s not even barely as fast as a 486 (at best! very very very slow!), only geared towards games, and thus it has some bugs preventing &quot;real world&quot; use. (E.g. Last I tried, DOSBox doesn&#39;t truncate LFNs correctly to 8.3 when DJGPP looks for files, and that indeed will crash DOSBox.)</p>
<p>If you are running this because your host OS is 64-bit (*shakes fist at no V86 mode*), you&#39;d do *much* much better with VirtualBox or DOSEMU (although sharing files under the former is hard).</p>
<p>Drop by <a href="http://www.bttr-software.de/forum" rel="nofollow ugc">http://www.bttr-software.de/forum</a> if you have HX questions (or just general DOS queries). A fair few of us luddites frequent there.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
