comp.lang.ada
 help / color / mirror / Atom feed
From: Reinert Korsnes <Reinert.Korsnes@npolar.no>
Subject: Large arrays in GNAT
Date: 2000/07/16
Date: 2000-07-16T00:00:00+00:00	[thread overview]
Message-ID: <3971DC1F.D415BFBE@npolar.no> (raw)

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;

results in "Segmentation fault (core dumped)".

For info: In Fortran (g77) I can declare much larger (Real) arrays.

Are there any options available under gnat so I can use arrays
of for example 5 mill elements of Float ?

reinert

--
Norwegian Polar Institute
Polar Environment Center
N-9296 Tromso
Norway
Fax: +47 77750501

http://geophys.npolar.no/~reinert/personal.html







             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 Reinert Korsnes [this message]
2000-07-16  0:00 ` Large arrays in GNAT gdemont
2000-07-16  0:00 ` Jeff Creem
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