comp.lang.ada
 help / color / mirror / Atom feed
From: ahlan@marriott.org
Subject: Re: Exception traceback when using TDM-GCC 5.1.0-3
Date: Thu, 21 Jul 2016 00:24:13 -0700 (PDT)
Date: 2016-07-21T00:24:13-07:00	[thread overview]
Message-ID: <65a1cb88-7eff-45ff-969d-10f50464529f@googlegroups.com> (raw)
In-Reply-To: <3651d6e7-de38-403f-9052-1dce7d8feb3a@googlegroups.com>

On Thursday, July 21, 2016 at 5:51:54 AM UTC+2, gautier...@hotmail.com wrote:
> Le mardi 19 juillet 2016 18:40:24 UTC+2, ahlan.m...@gmail.com a écrit :
> > For licensing reasons we would prefer to use the GNAT GCC packaged by TDM (currently v5.1.0-3) rather than the GPL provided by AdaCore.
> 
> Did you give a try with MinGW ?
> With version MinGW 4.7.2 I get at least a usable trace-back.
> _________________________ 
> Gautier's Ada programming 
> http://gautiersblog.blogspot.com/search/label/Ada 
> 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 support 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 the 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

  reply	other threads:[~2016-07-21  7:24 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-19 16:40 Exception traceback when using TDM-GCC 5.1.0-3 ahlan.marriott
2016-07-20  5:33 ` jrmarino
2016-07-20  6:19   ` ahlan
2016-07-20  6:43     ` Simon Wright
2016-07-20  7:13       ` ahlan
2016-07-20 13:09         ` jrmarino
2016-07-23 16:13         ` Simon Wright
2016-07-24  8:43           ` ahlan.marriott
2016-07-24  9:44             ` Simon Wright
2016-07-24 17:14               ` jrmarino
2016-07-24 18:54                 ` ahlan.marriott
2016-07-24 19:46                   ` Björn Lundin
2016-07-25  8:45                     ` ahlan.marriott
2016-07-25  9:04                       ` gautier_niouzes
2016-07-25 18:49                         ` ahlan.marriott
2016-07-25 11:34                       ` Björn Lundin
2016-07-25 12:05                       ` Simon Wright
2016-07-25 14:06                         ` Björn Lundin
2016-07-25 18:48                           ` ahlan.marriott
2016-07-26 21:20                             ` jrmarino
2016-07-27  7:09                               ` Markus Schöpflin
2016-07-27  7:35                               ` Simon Wright
2016-07-27 10:57                                 ` ahlan.marriott
2016-07-27 13:22                                   ` Simon Wright
2016-07-27 14:11                                     ` ahlan.marriott
2016-07-27 15:45                                       ` Simon Wright
2016-07-27 19:32                                         ` Anh Vo
2016-07-27 20:33                                           ` ahlan.marriott
2016-07-27 21:03                                             ` Anh Vo
2016-07-28  6:07                                               ` ahlan.marriott
2016-07-28  6:56                                                 ` ahlan.marriott
2016-07-28 12:26                                                   ` Björn Lundin
2016-07-28 16:07                                                     ` ahlan.marriott
2016-07-28 16:19                                                       ` Björn Lundin
2016-07-28 14:48                                                 ` Anh Vo
2016-07-28 15:44                                                   ` Anh Vo
2016-07-28 16:00                                                     ` ahlan.marriott
2016-07-28 16:16                                                       ` Anh Vo
2016-07-28 20:34                                                         ` ahlan.marriott
2016-07-28 20:55                                                           ` Björn Lundin
2016-07-29  6:40                                                             ` ahlan.marriott
2016-07-29 10:08                                                               ` Björn Lundin
2016-07-30  8:10                                                                 ` ahlan.marriott
2016-07-29  7:01                                                           ` Simon Wright
2016-07-29  8:21                                                           ` gautier_niouzes
2016-07-31  8:26                                                             ` ahlan
2016-07-29 15:57                                                           ` Anh Vo
2016-07-29 18:48                                                             ` Anh Vo
2016-07-30  8:11                                                               ` ahlan.marriott
2016-07-27 10:41                               ` ahlan.marriott
2016-07-27  7:18                             ` gautier_niouzes
2016-07-27 10:45                               ` ahlan.marriott
2016-07-25  7:14                 ` Georg Bauhaus
2016-07-20 13:06       ` jrmarino
2016-07-21  3:51 ` gautier_niouzes
2016-07-21  7:24   ` ahlan [this message]
2016-07-21 10:33     ` gautier_niouzes
2016-07-21 12:15       ` ahlan
replies disabled

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