comp.lang.ada
 help / color / mirror / Atom feed
* Large arrays in GNAT
@ 2000-07-16  0:00 Reinert Korsnes
  2000-07-16  0:00 ` Jeff Creem
  2000-07-16  0:00 ` gdemont
  0 siblings, 2 replies; 4+ messages in thread
From: Reinert Korsnes @ 2000-07-16  0:00 UTC (permalink / 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







^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-07-16  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-16  0:00 Large arrays in GNAT Reinert Korsnes
2000-07-16  0:00 ` Jeff Creem
2000-07-16  0:00   ` Reinert Korsnes
2000-07-16  0:00 ` gdemont

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