From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a37:ac09:: with SMTP id e9mr4691561qkm.258.1573356512644; Sat, 09 Nov 2019 19:28:32 -0800 (PST) X-Received: by 2002:a05:6808:d:: with SMTP id u13mr12661387oic.155.1573356512396; Sat, 09 Nov 2019 19:28:32 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!j16no5618566qtl.0!news-out.google.com!g53ni42qtg.0!nntp.google.com!j16no5618562qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 9 Nov 2019 19:28:32 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.109.61.2; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf NNTP-Posting-Host: 70.109.61.2 References: <1115863b-701a-4a0f-83dc-517a7b35fef6@googlegroups.com> <7aa1caba-eccc-40cb-943a-29e66e19759b@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <868fcd46-a02c-4898-bab7-694d2fb634cf@googlegroups.com> Subject: Re: Free-Ada updated to GCC-9.x From: Jere Injection-Date: Sun, 10 Nov 2019 03:28:32 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:57538 Date: 2019-11-09T19:28:32-08:00 List-Id: 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.