comp.lang.ada
 help / color / mirror / Atom feed
From: ahlan.marriott@gmail.com
Subject: Re: Exception traceback when using TDM-GCC 5.1.0-3
Date: Mon, 25 Jul 2016 11:48:11 -0700 (PDT)
Date: 2016-07-25T11:48:11-07:00	[thread overview]
Message-ID: <bf2a2a66-66f3-4efe-9544-bdf86df3beba@googlegroups.com> (raw)
In-Reply-To: <nn56dc$2q4$1@dont-email.me>

Dear Björn,

Thanks for your suggestions, however I still don't get a traceback.

I call Gprbuild with -P and the name of the Gpr file together with -eS and -q

My gpr is
   for Exec_Dir use "W:\Product\Elephant\Windows";
   for Main use ("GnatTest.adb");

   package Pretty_Printer is
      for Default_Switches ("ada") use ("-i2", "-M120", "-aL", "-A1", "-A4");
   end Pretty_Printer;

   package Builder is
      for Default_Switches ("ada") use ("-k", "-s", "-j4", "-g");
      for Executable ("GnatTest.adb") use "GnatTest";
   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;

   package Binder is
      for Default_Switches ("ada") use ("-E");
   end Binder;

   package Linker is
      for Linker_Options use ();
      for Default_Switches ("ada") use
         ("-g", "-LW:\Product\Elephant\Windows",
          "D:\Binary\Elephant\Ada\Projects\Test\GnatTest\objects\resources.o", "-mwindows");
   end Linker;

Ahlan

On Monday, 25 July 2016 16:06:38 UTC+2, björn lundin  wrote:
> On 2016-07-25 14:05, Simon Wright wrote:
> > ahlan.marriott@gmail.com writes:
> > 
> >>    package Compiler is 
> >>       for Default_Switches ("ada") use 
> >>          ("-O1", "-gnatQ", "-gnata", "-gnato", "-g", "-gnat12", 
> >>           "-gnatwcehijkmopruvz.c.n.p.t.w.x", "-gnatykmpM120"); 
> >>    end Compiler; 
> > 
> > I think it's better to put -g in Builder:
> > 
> >    package Builder is
> >       for Default_Switches ("ada") use ("-g");
> >    end Builder;
> > 
> > so it gets used in the link phase too.
> > 
> 
> 
> or perhaps i Builder
> 
>    package Builder is
>      for Default_Switches ("Ada") use ("-k","-s","-j4","-g");
>    end Builder;
> 
> -- 
> --
> Björn

  reply	other threads:[~2016-07-25 18:48 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 [this message]
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
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