delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/07/07/23:31:05

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp on dosbox install issues/questions
Date: Tue, 7 Jul 2009 20:28:53 -0700 (PDT)
Organization: http://groups.google.com
Lines: 73
Message-ID: <931126df-b862-4bfa-b345-a8c55dfff0df@x5g2000yqk.googlegroups.com>
References: <afu4m.257$5A4 DOT 249 AT newsfe14 DOT iad>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1247023733 27250 127.0.0.1 (8 Jul 2009 03:28:53 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Wed, 8 Jul 2009 03:28:53 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: x5g2000yqk.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US)
AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.33 Safari/530.5,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

On Jul 6, 4:44=A0pm, "Christopher M. Casey" <ccase DOT  DOT  DOT  AT hotmail DOT com>
wrote:
>
> I'm running windows vista x64, which of course djgpp won't run on. =A0To =
get
> around this, I have installed dosbox, and am trying to run djgpp from the=
re.

First of all, I assume you're using latest 0.73. But actually I'd
suggest you not do so, esp. because it's too damn slow. VirtualBox 3.0
was just released recently, and while it's a pain to share files
between host and guest, it's almost native speed for me, which is
cool. (You will need FreeDOS for this, and bugfix kernel 2038 "stable"
was just released last month. See their main site, which is up again
after a few days of wonky connectivity.) You could also dual boot
FreeDOS (look up EasyBCD, Vista boot loader adjuster thingy) if you
really really wanted. Vista lets you resize NTFS (unlike XP).

I don't inherently disagree with your choice to use Vista x64, but you
have to realize that a). even Vista 32-bit is buggy with NTVDM, b). MS
doesn't care about DOS at all, c). x86-64 doesn't support V86 mode,
hence is probably the "official" reason that MS is too lazy^H^H^H^H...
busy to support DOS. If you are semi-adventurous, you could use DOSEMU
under Linux x86-64.

> I downloaded all the files form the zip chooser, and unzipped them within
> dosbox itself to make sure I didn't end up with any long filename issues.=
 =A0I
> used to develop in turbo c++, so im using rhide for the editor, which I'v=
e
> seen on here sint really developed anymore?

It's long dead, it needs GCC 3.x exclusively to build, and although
widely loved (apparently), most people seem to prefer other editors.
Besides, doesn't it use Ctrl-F9? Not exactly DOSBox-friendly.    ;-)

> Anyways, when I run rhide, and make a simple hello world program, as
> follows:
>

(snip)

>
> I get compile errors in djgpp. =A0It tells me "error: 22: error: iostream=
.h:
> no such file or directory (enoent)". =A0Ok, so I tried changing <iostream=
.h>
> to <iostream>, which then yields a bunch of errors, the first of which is
> "d:/dos16/djgpp/bin/../lib/gcc/djgpp/4.32/../../../../include/cxx/4.32/io=
st ream)44)
> error: 28: error: bits/c++config.h: no such file or directory (enoent).
> then there are a bunch of similar errors. =A0So it appears <iostream> is
> there, but the include files in <iostream> itself arent there. =A0I have
> searched for c++config.h (and c++confi.h) in my djgpp directories, and
> didn't
> find it anywhere. =A0Anyone have any ideas?

DOSBox doesn't handle truncated SFN filenames like real DOS does.
That's my guess at what's wrong. In other words, a file named
"GNUmakefile" is truncated to "gnumakef" in 8.3 good ol' DOS (without
LFN driver). Normally DJGPP's GNU make will still find it, but under
DOSBox I've noticed that such a thing doesn't work. Really the DOSBox
developers have been saying forever (despite everything people expect)
that it's only meant for games.

In short, DOSBox =3D=3D games only, too slow and buggy for other stuff.

P.S. Somebody around here was cross-compiling via Cygwin, but they
never posted their builds, so I can't tell you where to get it. Oh
well. There's a Red Hat cross-cc mailing list somewhere, I think, but
I've never really looked at it.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019