comp.lang.ada
 help / color / mirror / Atom feed
From: Jere <jhb.chat@gmail.com>
Subject: Re: Free-Ada updated to GCC-9.x
Date: Sat, 9 Nov 2019 19:28:32 -0800 (PST)
Date: 2019-11-09T19:28:32-08:00	[thread overview]
Message-ID: <868fcd46-a02c-4898-bab7-694d2fb634cf@googlegroups.com> (raw)
In-Reply-To: <a77ead7f-613b-4b1d-ab6f-4678f8c30047@googlegroups.com>

On Friday, November 8, 2019 at 5:38:35 PM UTC-5, Lucretia wrote:
> On Friday, 8 November 2019 18:46:25 UTC, Jere  wrote:
> 
> > Nice!  This looks like it only builds in Linux for now?  I saw some
> > references to msys in there, but they don't appear to always set the
> > same settings as other host systems.  I'm typically doing Ada
> > development from msys2 on Win10 64bit, so was curious about it.
> 
> Yeah, only developed and tested on Linux for now. The aim is to get it working for other platforms, but getting this far on one platform is hard enough.
> 
> Luckily, Linux kernel 5.3.7-gentoo, has a working VFIO with passthrough, the last (quite a) few revisions have been broken, so I have my Win10 and MacOS VM's working again, but don't expect anything much too soon.
> 
> But seeing as MacOS already has GCC/GNAT builds for it, that can wait, for now.
> 
> Is Mingw32 the way to go with an MSYS install? It's been years since I installed GCC on a Windows machine.

Optikos covered where to get msys2 (it is the preferred now adays due to it 
being 64bit).  What I generally do is:

1.  Install the necessary tools:
pacman -Sy make
pacman -Sy mingw-w64-x86_64-toolchain

That should get everything.  If it doesn't get GNAT for some reason, then
search pacman for gcc-ada and install that package.

2.  Install GNAT community 2018 or newer.  There is no gprbuild in msys2
and sometimes it is hard to build.  By installing GNAT community, you 
can get gprbuild.  I accomplish this by adding the bin directory for 
GNAT Community to the *end* of the path.  This ensures using GCC uses
the msys version but gprbuild can still be used.

I was recently able to successfully build gprbuild for msys2, but I 
would not recommend it to start out until you are comfortable with
the environment.

  parent reply	other threads:[~2019-11-10  3:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-06 15:32 Free-Ada updated to GCC-9.x Lucretia
2019-11-06 15:41 ` Shark8
2019-11-06 20:48 ` Azathoth Hastur
2019-11-06 20:56   ` Lucretia
2019-11-08  0:44     ` Azathoth Hastur
2019-11-08 10:53       ` Lucretia
2019-11-08 16:35         ` Azathoth Hastur
2019-11-08 18:46 ` Jere
2019-11-08 22:38   ` Lucretia
2019-11-09  3:19     ` Optikos
2019-11-10  3:28     ` Jere [this message]
2019-11-10 12:41       ` Lucretia
replies disabled

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