From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,52b937e9712e08a X-Google-Attributes: gid103376,public From: Viqar Abbasi Subject: Re: Secondary Stack oddities w/ SGI Ada 95 Date: 1999/05/03 Message-ID: <372E1358.72CC27D@cae.ca>#1/1 X-Deja-AN: 473668733 Content-Transfer-Encoding: 7bit References: <018101be9589$6a4b4ad0$153095cd@visnt021.vis.crc.com> To: "David C. Hoos" Content-Type: text/plain; charset=us-ascii Organization: CAE Electronics Ltd. Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-05-03T00:00:00+00:00 List-Id: 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