comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <gautier.demontmollin@maths.unine.ch>
Subject: Re: DPMI exception GNAT ofr DOS
Date: 2000/10/06
Date: 2000-10-06T00:00:00+00:00	[thread overview]
Message-ID: <39DDDA61.5F6C0265@maths.unine.ch> (raw)
In-Reply-To: 8rki25$4m1$1@nnrp1.deja.com

> I have installed and run a DPMI GNU program "csdpmi...".

Yes, you needed a DPMI server. Note that Windows (all versions since 3.1)
provides such a server: if you run from Windows you don't need cwsdpmi.

> My program is not running anyway, it is now throwing a 80386 exception
> (not an Ada exception).
> Is someone knows a solution ?

My guess: you define an array as a variable on stack
e.g. a: array(1..1000000) of integer, and it hits the
fixed limit of stack for DJGPP programs (256KB by default).
Remedy: allocate with an access (a:= New ...), which is
"unlimited", or augment the stack size with the "stubedit"
tool (bof...).

G.




  reply	other threads:[~2000-10-06  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-06  0:00 DPMI exception GNAT ofr DOS fabien_bousquet
2000-10-06  0:00 ` Gautier [this message]
2000-10-06  0:00   ` Gautier
2000-10-06  0:00     ` fabien_bousquet
2000-10-06  0:00       ` Gautier
2000-10-09  0:00         ` fabien_bousquet
2000-10-09  0:00           ` gdemont
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox