Mail Archives: djgpp/1995/09/27/15:03:39
>
> I'm planning on installing DJGPP on my PC (with QEMM7.04 and the buggy
> DPMI (normally disabled), and a lot of diskspace and memory), because I
> prefer PCs DOS to UNIX (no intention on religios wars here!),
Ever tried Linux ? :-)
> but since
> some af my programs will need to run on heavy UNIX-machines because of
> the calculation time, it's essential that the porting problem is almost
> non-existing.
> The programs are relatively simple (mainly ANSI but some CPP), the main
> problem is that I'm using a lot of large arrays and perform heavy math
> computations on them.
> A typical skeleton of a program would look like this (simplified!):
>
> [...]
> Q1: Will DJGPP "eat" a program like this, or do I need some special includes?
I would say yes. Although it might depend on how much memory your box has.
> Q2: Will the array(s) be placed/swapped on disk if I'm short on memory
> (that's not a problem, as long as I can use the array!)?
Yes.
> Q3: Do I need to worry about implementing DPMI-calls myself, when I'm
> using/allocating these large arrays, or is the memoryallocation
> "invisible" for me?
You don't need to care about, just as under Unix.
Hope this helps,
Andy
-----------------------------------------------------------
Andreas Busse | andy AT soft-n-hard DOT de
Soft N Hard GbR | Phone: +49 2636-970105
Im Hufen Boden 16, D-53498 Waldorf | Fax: +49 2636-970106
-----------------------------------------------------------
- Raw text -