From: alby.gamper@gmail.com
Subject: Re: Visual Studio IDE - Integration
Date: Sat, 11 Feb 2017 16:49:31 -0800 (PST)
Date: 2017-02-11T16:49:31-08:00 [thread overview]
Message-ID: <b07ee960-c9f0-4fb4-8c0d-3dea99eda844@googlegroups.com> (raw)
In-Reply-To: <7b13c405-96c8-40c9-84a6-2c3d760c30bb@googlegroups.com>
On Wednesday, February 8, 2017 at 2:41:15 PM UTC+11, alby....@gmail.com wrote:
> On Tuesday, February 7, 2017 at 7:37:18 PM UTC+11, Dmitry A. Kazakov wrote:
> > On 07/02/2017 08:46, Hadrien Grasland wrote:
> >
> > > To clarify, GDB is actually pretty awesome as a command-line tool.
> > > But no one has ever bothered - or managed - to write a good GUI frontend
> > for it.
> >
> > In fact GPS has a pretty cool debugger's front end. It has a bit less
> > comfortable debugging interface than Visual Studio's, but still all
> > bells and whistles.
> >
> > IMO GPS is far better than latter incarnations of Visual Studio. Since
> > VS 2005 it goes clearly down the slope. The only thing where Studio is
> > better than GPS is debugging. [*]
> >
> > The problem is that it becomes usable when the project gets any larger
> > and more complex.
> >
> > Knowing that AdaCore has awesome software designers and that other parts
> > of the tool-chain are working seamless, I put blame squarely on GDB.
> >
> > -----------------
> > * And MS linker. GNU linker is a disaster with regard to performance. It
> > takes literally an hour to link a large stand-alone relocatable library.
> >
> > --
> > Regards,
> > Dmitry A. Kazakov
> > http://www.dmitry-kazakov.de
>
> Dear Dmitry
>
> I've looked at using gcc to compile a simple hello world app in "C" and then
> link using the MS linker. This does work (after a bit of tweaking. However
> Ada/gnat is a bit harder due to the additional RTS/mingw dependencies and
> VC 2015 runtime has dropped of support for some legacy routines (for example
> __iob_func ...)
>
> I believe the best approach may be to built the RTS using gcc and then link
> using MS linker. Once that is done, then linking normal apps against this new
> RTS should be straight forward.
>
> Problem is I have little documentation available on how to rebuild the actual
> RTS (I can compile the Ada sources, but their is a bunch of "C" files that also
> need to be compiled, and subsequently linked to produce the RTS (ie libgnat.a)
>
> Thanks
>
> Alex
Dear Dmitry
I have managed to build a new RTS (libgnat) using the MS linker and a small test
Ada application that links against this RTS using the MS Linker. The bad news is
that all debug info is lost in the process. I believe the info is still in the
final exe, but the relevant DWARF ".debug_xxx" sections get renamed to 8 chars
by the MS linker and no longer usable/convertable !
Alex
next prev parent reply other threads:[~2017-02-12 0:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-27 12:49 Visual Studio IDE - Integration alby.gamper
2017-01-27 13:12 ` Dmitry A. Kazakov
2017-01-27 13:51 ` alby.gamper
2017-02-06 18:36 ` Scott Loyd
2017-02-07 3:47 ` alby.gamper
2017-02-07 7:46 ` Hadrien Grasland
2017-02-07 8:37 ` Dmitry A. Kazakov
2017-02-08 3:41 ` alby.gamper
2017-02-12 0:49 ` alby.gamper [this message]
2017-02-12 8:25 ` Dmitry A. Kazakov
2017-02-12 10:26 ` alby.gamper
2017-02-03 18:09 ` Leff Ivanov
2017-02-04 3:14 ` alby.gamper
2017-02-07 14:00 ` Aurele
2017-02-12 1:50 ` Ivan Levashev
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox