From: Viqar Abbasi <viqar@cae.ca>
To: "David C. Hoos" <hoosd@thermoinfo.com>
Subject: Re: Secondary Stack oddities w/ SGI Ada 95
Date: 1999/05/03
Date: 1999-05-03T00:00:00+00:00 [thread overview]
Message-ID: <372E1358.72CC27D@cae.ca> (raw)
In-Reply-To: 018101be9589$6a4b4ad0$153095cd@visnt021.vis.crc.com
David C. Hoos wrote:
>
> >
> You've given a lot of information, but not what is probably the
> critical stuff -- e.g.:
Sorry about that... especially since I am suspecting the
elaborations. The main program is in C, which leads to...
>
> 2. If the main programs C, how are you arranging to do the
> Ada elaboration?
gnatbind -n report_test.ali mots_io.ali (... others as applicable)
-o ada_elabs.c
Then, during a first-pass initializatio, "adainit",
and upon termination, "adafinal". There is alot of code
between the "adainit" and the first Ada call though.
Could that be the problem.
>
> 3. Did you link following the instructions in the Gnat User's
> Guide regarding non-Ada programs?
I believe so...
gcc -32 -o xxx.exe all_my_.o (including ada_elabs.o)
all_my_.a -lwhatIneed -lgnat -lgcc
One weird thing I noticed in my elaboration file was that
"system__secondary_stack___elabb" is called, but not
the corresponding "___elabs". I tried setting it up
manually, but the symbol could not be resolved.
I've also tried the same application & code on Ada 1.3,
Irix 6.5.3 and had the same results. It's quite strange...
Thanks for the help so far!
Viqar
next parent reply other threads:[~1999-05-03 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <018101be9589$6a4b4ad0$153095cd@visnt021.vis.crc.com>
1999-05-03 0:00 ` Viqar Abbasi [this message]
1999-05-03 0:00 Secondary Stack oddities w/ SGI Ada 95 Viqar Abbasi
-- strict thread matches above, loose matches on Subject: below --
1999-05-03 0:00 Viqar Abbasi
1999-05-03 0:00 ` dennison
1999-05-05 0:00 ` Viqar Abbasi
1999-05-06 0:00 ` dennison
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox