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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.183.229 with SMTP id ep5mr40915707pac.3.1469085853859; Thu, 21 Jul 2016 00:24:13 -0700 (PDT) X-Received: by 10.157.46.169 with SMTP id w38mr2191348ota.15.1469085853814; Thu, 21 Jul 2016 00:24:13 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!f6no3136451ith.0!news-out.google.com!d68ni1603ith.0!nntp.google.com!f6no3143842ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 21 Jul 2016 00:24:13 -0700 (PDT) In-Reply-To: <3651d6e7-de38-403f-9052-1dce7d8feb3a@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:120b:c3ee:e540:f806:212b:2dfc:b2eb; posting-account=DQbqYQoAAACn8hHn2LmG2aF7Mhbxl_Lf NNTP-Posting-Host: 2a02:120b:c3ee:e540:f806:212b:2dfc:b2eb References: <3651d6e7-de38-403f-9052-1dce7d8feb3a@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <65a1cb88-7eff-45ff-969d-10f50464529f@googlegroups.com> Subject: Re: Exception traceback when using TDM-GCC 5.1.0-3 From: ahlan@marriott.org Injection-Date: Thu, 21 Jul 2016 07:24:13 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:31113 Date: 2016-07-21T00:24:13-07:00 List-Id: On Thursday, July 21, 2016 at 5:51:54 AM UTC+2, gautier...@hotmail.com wrot= e: > Le mardi 19 juillet 2016 18:40:24 UTC+2, ahlan.m...@gmail.com a =C3=A9cri= t=C2=A0: > > For licensing reasons we would prefer to use the GNAT GCC packaged by T= DM (currently v5.1.0-3) rather than the GPL provided by AdaCore. >=20 > Did you give a try with MinGW ? > With version MinGW 4.7.2 I get at least a usable trace-back. > _________________________=20 > Gautier's Ada programming=20 > http://gautiersblog.blogspot.com/search/label/Ada=20 > NB: follow the above link for a valid e-mail address Dear Gautier, I'm afraid I don't understand your question. I downloaded TDM-GCC-5.1.0-3.exe from the TDM website. (I was directed there from GetAdaNow -Windows) I understand that this is their installer for TDM32 MinGW edition with SJLJ= exception handling. I then downloaded gcc-5.1.0-tdm-1-ada.zip which is supposed to be Ada suppo= rt with SJLJ exceptions. I then downloaded the GPR tools from GetAdaNow. Together I can use these to compile and build my Ada applications that seem= to execute correctly. However, if I raise an exception I only get the name of the exception and t= he message. The traceback is missing. In the .gpr we have package Binder is for Default_Switches ("ada") use ("-E"); end Binder; The -E is required in order that you get a traceback. The other packages in the gpr are package Builder is for Default_Switches ("ada") use ("-s", "-g"); end Builder; package Compiler is for Default_Switches ("ada") use ("-O1", "-gnatQ", "-gnata", "-gnato", "-g", "-gnat12", "-gnatwcehijkmopruvz.c.n.p.t.w.x", "-gnatykmpM120"); end Compiler; MfG Ahlan