From: "Jeff Creem" <jcreem@atetola.mv.com>
Subject: Re: Large arrays in GNAT
Date: 2000/07/16
Date: 2000-07-16T18:32:23+00:00 [thread overview]
Message-ID: <8ksv3n$aep$1@pyrite.mv.net> (raw)
In-Reply-To: 3971DC1F.D415BFBE@npolar.no
"Reinert Korsnes" <Reinert.Korsnes@npolar.no> wrote in message
news:3971DC1F.D415BFBE@npolar.no...
> Hi,
>
> I cannot declare an array of Float larger than 2.5 mill elements
> using my Ada95 gnat compiler (gnat-3.12p-12) on my linux box.
>
> For example:
>
> A : array (Integer range 1 .. 2_500_000) of Float;
declare the array in a package (spec or body it does not matter) or create
an access type and do a new.
If you declare an array as a local variable or (really the same thing) in
the
mainline procedure it gets created on the stack..
next prev parent reply other threads:[~2000-07-16 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-16 0:00 Large arrays in GNAT Reinert Korsnes
2000-07-16 0:00 ` gdemont
2000-07-16 0:00 ` Jeff Creem [this message]
2000-07-16 0:00 ` Reinert Korsnes
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox