comp.lang.ada
 help / color / mirror / Atom feed
* GNAT GPL for Mac OSX stack checking problem
@ 2005-10-06 22:47 Kevin K
  2005-10-07  1:27 ` jim hopper
  2005-10-07  2:48 ` John B. Matthews
  0 siblings, 2 replies; 9+ messages in thread
From: Kevin K @ 2005-10-06 22:47 UTC (permalink / raw)


I've downloaded the new 2005 GPL edition for the Mac (of which I am 
NOT an expert, having the computer for only 2 weeks).

I wrote a test program using tasks, namely a program with 10 tasks, of
10Meg each.

However, even when compiled with the -fstack-check option, not only is
the virtual memory usage not anywhere close to the the 100meg 
expected, but when run, when I attempt to get a storage_error, I get 
an illegal instruction instead.

This same test procedure compiled on the Linux version of Gnat 2005, 
running Centos4, runs as expected.

I guess the question is what is the maximum stack size of a task under
OSX?  (10.4 with all available patches)

Is there a missing option I need to do when compiling or linking under
OSX?  I know that Windows has some special options.

The test driver is available for posting.

Thanks,
Kevin

-- 




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

end of thread, other threads:[~2005-10-08 18:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-06 22:47 GNAT GPL for Mac OSX stack checking problem Kevin K
2005-10-07  1:27 ` jim hopper
2005-10-07 12:10   ` Kevin K
2005-10-07  2:48 ` John B. Matthews
2005-10-07 12:25   ` Kevin K
2005-10-07 13:00     ` Jeff Creem
2005-10-08  0:05       ` Kevin K
2005-10-08  6:27   ` Simon Wright
2005-10-08 18:01   ` jim hopper

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