Mail Archives: djgpp/2007/10/30/17:00:28
On Oct 30, 11:37 am, Mark Duckworth <markd DOT DOT DOT AT bellsouth DOT net> wrote:
> Hi Guys,
>
> I'm currently using the djgpp compiler running under XP as a cross-
> compiler that is called through CodeWright editor. The target system
> is a 133 Mhz AMD 586 CPU board that boots from ROM-DOS. When trying
> to run the compiler under Vista I get the following error:
>
> cc1plus.exe: out of memory allocating 65536 bytes after a total of
> 25209020 bytes
>
I got the same error when trying to compile Dungeon Crawl 4.0.0 b26
under Vista Home Premium using GCC 4.2.1. It's almost definitely the
32 MB DPMI limit. Running GCC 3.4.4 (DJGPP version) works fine,
though. That is probably your best bet, especially if you don't need
all the latest GCC features (if you're targeting such a "low-end
machine", heh). On my "old" P166, I run 3.4.4 fine. Of course, I think
2.95.3 would be even faster at compiling, but that's your call. ;-)
> Also when I run go32-v2 in a dos window I get the following results:
>
AFAIK, this doesn't matter, and Vista can't currently be configured to
allow more.
> I've downloaded DOS BOX 0.72 and the compiler will run under this
> application but it is extremely slow.
DOSBox is a full cpu emulator, so it runs on lots of machines, e.g.
even on PPC Macs. Therefore, it's much slower than the real thing. A
high-end machine barely resembles a 486 (according to their readme).
Plus, they claim it's really only for games anyways.
> In additon, I've read from the website http://www.trnicely.net/misc/vista.htmlthat Microsoft will fix the
> problem in SP1 (for Vista 32 bit). Vista SP1 should be available in
> early 2008 but I really can't wait until then for a possible fix.
I read this too, and I hope they fix it, but no guarantees. If you
have Vista Business, Enterprise, or Ultimate, you can install Virtual
PC 2007. But it won't install on Home Basic or Premium (strangely). I
use QEMU but haven't tried DJGPP within it yet. But you can get some
FreeDOS floppy images from here:
http://rugxulo.googlepages.com
>
> Mark Duckworth
- Raw text -