comp.lang.ada
 help / color / mirror / Atom feed
From: Jere <jhb.chat@gmail.com>
Subject: Rebuilding GNAT for mingw (32bit)
Date: Thu, 28 Jun 2018 04:01:18 -0700 (PDT)
Date: 2018-06-28T04:01:18-07:00	[thread overview]
Message-ID: <64c649e6-fe13-4a1b-8584-cd9e727151a2@googlegroups.com> (raw)

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

However, the GNAT installation for mingw did not have that makefile 
and libgnat.a wasn't in the locations specified by the gnatls -v 
command.  I did find libgnat.a, but what I don't know is how to 
recompile it.  Just using gnatmake outright generates a ton of .o 
and .ali files instead.  I'm not even sure which switches the runtime 
is normally compiled with for that platform.  Anyone have experience 
compiling it for mingw?  For reference, the GNAT version for mingw 
is currently 6.3.0.

Any help would be appreciated.


             reply	other threads:[~2018-06-28 11:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-28 11:01 Jere [this message]
2018-06-28 11:13 ` Rebuilding GNAT for mingw (32bit) Brian Drummond
2018-06-28 18:19   ` Dan'l Miller
2018-06-28 21:43     ` Jere
2018-06-28 21:39   ` Jere
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