From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b6bf180024de844 X-Google-Attributes: gid103376,public From: Gautier Subject: Re: DPMI exception GNAT ofr DOS Date: 2000/10/06 Message-ID: <39DDDA61.5F6C0265@maths.unine.ch>#1/1 X-Deja-AN: 678292975 Content-Transfer-Encoding: 7bit References: <8rki25$4m1$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 6 Oct 2000 15:57:21 +0100, mac13-29.unine.ch MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-10-06T00:00:00+00:00 List-Id: > 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.