Gnoga on Windows 64bit is a bit of a trial unless you are doing GNAT
community.  The latest dev branch (1.5) doesn't even install properly when
using msys2 (so I've stayed on 1.4 for now).  In terms of what you need to
do:

1.  Update msys2 to latest GCC and GNAT along with all the necessary build
tools like Make using pacman to install everything.
2.  gprbuild...I haven't successfully built it on msys2 yet.  I grabbed the
gprbuild from the Gnoga repo, but it doesn't work out of the box (it works
with 32bit by default, not 64bit).  I copied the files into their correct
locations in /mingw64/, then I used gprconfig to create a new .cpgr file
and renamed it to the default one and put it in the appropriate share
folder.  This got me gprbuild.  One thing I did not try but intend to at
some point is to simply add my GNAT community version to the end of my
path.  Maybe with my FSF first in the path, msys2 will pick up FSF GNAT for
the compiler and then GNAT community's 64bit GPRBUILD for the build tools.
3.  You have to manually modify gnoga-code/tools/tools.gpr,
gnoga-code/deps/zanyblue/src/zbinfo/zbinfo.gpr, and
gnoga-code/deps/zanyblue/src/zbmcompile/zbmcompile.gpr to add a .exe to the
end of the executable names.  msys2's version of GNAT doesn't recognize the
executable files otherwise.  I've mentioned this a few times in tickets and
emails here, but I don't think anyone is gonna modify the build scripts
(and I don't know how to do it), so if you want commercial ready Gnoga on
windows, you'll need to do this yourself for now.

I know this is a bit concise and I glossed over steps, but if you have
trouble ask and I'll try and get you going with more specific ones.

On Sat, Apr 27, 2019 at 9:55 PM Travis Ayres <tray...@gmail.com> wrote:

> While we're at it, can we talk about instructions for using Ada with
> MSYS2?
>
> On Sat, Apr 27, 2019, 6:52 PM David Botton <da...@botton.com> wrote:
>
>> Looks like power outage and ups dead. I’ll bring back up tomorrow and get
>> a new ups
>>
>> On Sat, Apr 27, 2019 at 7:47 AM Jeremiah Breeden <
>> jeremiah.bree...@gmail.com> wrote:
>>
>>> Have any of yall heard from David?  All 3 of his gnoga sites have gone
>>> down (www.gnoga.com, www.learnadanow.com, www.getadanow.com).
>>> _______________________________________________
>>> Gnoga-list mailing list
>>> Gnoga-list@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>>>
>> _______________________________________________
>> Gnoga-list mailing list
>> Gnoga-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>>
> _______________________________________________
> Gnoga-list mailing list
> Gnoga-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to