comp.lang.ada
 help / color / mirror / Atom feed
From: Jere <jhb.chat@gmail.com>
Subject: Re: Rebuilding GNAT for mingw (32bit)
Date: Thu, 28 Jun 2018 14:39:28 -0700 (PDT)
Date: 2018-06-28T14:39:28-07:00	[thread overview]
Message-ID: <d306050b-825d-4dde-aba2-230994857358@googlegroups.com> (raw)
In-Reply-To: <ph2fs9$70q$1@dont-email.me>

On Thursday, June 28, 2018 at 7:13:14 AM UTC-4, Brian Drummond wrote:
> On Thu, 28 Jun 2018 04:01:18 -0700, Jere wrote:
> 
> > So I recently ran into an issue using the FSF GNAT on 32bit mingw.
> > It ended up having a bug in GNAT.Serial_Communications, which was fixed
> > in later versions of GNAT found in 64 bit mingw.  Unfortunately I can't
> > upgrade to the 64bit version and get a later version of GNAT.
> > The bug fix was only a few lines, so I figured I could make the change
> > to g-sercom.adb in the adainclude directory and hopefully recompile
> > GNAT.  When I looked up instructions for this I found:
> > 
> > https://gcc.gnu.org/onlinedocs/gnat_ugn/Rebuilding-the-GNAT-Run-Time-
> Library.html
> > Any help would be appreciated.
> 
> In the event you can't find the correct answer, you can probably move 
> forward by replacing g-sercom.ad[sb] with your own package derived from 
> it, in your project and under your control.
> 
> I'm sure someone will jump in with comments if there are license 
> implications to this approach.
> 
> -- Brian

I did that initially to verify that the bug fix would work.  
I was hoping for a more global solution though so I didn't have
to supply that file for every project that I had that used the
serial port.  I renamed it to just Serial_Communications, made
the bug fix, and tested it out.

  parent reply	other threads:[~2018-06-28 21:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-28 11:01 Rebuilding GNAT for mingw (32bit) Jere
2018-06-28 11:13 ` Brian Drummond
2018-06-28 18:19   ` Dan'l Miller
2018-06-28 21:43     ` Jere
2018-06-28 21:39   ` Jere [this message]
2018-06-29  8:09     ` Brian Drummond
2018-06-28 12:12 ` Jeffrey R. Carter
2018-06-28 21:42   ` Jere
2018-06-29  7:03 ` Simon Wright
replies disabled

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