comp.lang.ada
 help / color / mirror / Atom feed
From: "Kevin K" <kevink4@gmail.com>
Subject: GNAT GPL for Mac OSX stack checking problem
Date: Thu, 06 Oct 2005 22:47:08 GMT
Date: 2005-10-06T22:47:08+00:00	[thread overview]
Message-ID: <KIRoJuEXw9g9-pn2-JDKN54ZBmMfZ@ecs> (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

-- 




             reply	other threads:[~2005-10-06 22:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-06 22:47 Kevin K [this message]
2005-10-07  1:27 ` GNAT GPL for Mac OSX stack checking problem 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
replies disabled

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