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:a24:6955:: with SMTP id e82mr15476388itc.102.1556423833869; Sat, 27 Apr 2019 20:57:13 -0700 (PDT) X-Received: by 2002:a05:6830:14d8:: with SMTP id t24mr458534otq.303.1556423833643; Sat, 27 Apr 2019 20:57:13 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!b2no448308itd.0!news-out.google.com!v189ni300itv.0!nntp.google.com!b2no448302itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 27 Apr 2019 20:57:13 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=101.164.108.182; posting-account=wavAeAoAAAAZF_sXSZepBukuPCBO0Zqt NNTP-Posting-Host: 101.164.108.182 References: <13ce24c7-2cfd-4c77-8e4f-2aba216d9ca9@googlegroups.com> <12955098-0ae7-4e2e-b4dd-050620a1f039@googlegroups.com> <22ad2bb3-4d6e-48f0-9f72-ea2464390b13@googlegroups.com> <3d9b62c5-6461-420a-b051-132618c40369@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <67e68b33-4fa1-45fc-aac5-3294258bb4da@googlegroups.com> Subject: Re: ANN: VisualAda (Ada Integration for Visual Studio 2017 & 2019) release 1.1.12 From: alby.gamper@gmail.com Injection-Date: Sun, 28 Apr 2019 03:57:13 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:56204 Date: 2019-04-27T20:57:13-07:00 List-Id: On Sunday, April 28, 2019 at 1:19:28 PM UTC+10, Greg wrote: > Alex, >=20 > Sorry I took so long to get back to you - work, sick family, one thing af= ter another :-(. >=20 > Yes, I'm using GNAT Community 2018 64-bit and GNAT is on my PATH. >=20 > After setting "git config --global core.autocrlf false", I was able to cl= one both repos successfully and begin building without goofy line terminato= r errors. >=20 > The WinRT Runtime built successfully according to your notes and seemed t= o install correctly into "C:/home/greg/apps/GNAT/2018/lib/gcc/x86_64-w64-mi= ngw32/8.3.0/rts-Winrt_Runtime", without any changes to WinRT-Runtime.gpr. >=20 > However, when trying to build the WinRT Bindings, I instantly get a "gprc= onfig: can't find a native toolchain for language 'ada', runtime 'Winrt_Run= time'" error. I know it's a path/dir/install issue of some kind and I'm con= tinuing to fiddle with the env variables/settings you mentioned (I assume i= t can't find winrt-runtime for some reason). I've even tried setting "for "= Runtime_Dir ("Ada")" without luck so far. >=20 > I think I'm very close :-), and will let you know. (The payoff is certain= ly worth the effort.) >=20 > Regards, > Greg Hi Greg If you are using GNAT community edition, be aware that gcc/gnat by default = will use a target triplet of x86_64-pc-mingw32 and not *-w64-* and that the vers= ion number will be 7.3.1. So you will need to adjust the GPR files to use these locations. You can confirm what gcc/gnat uses by default by running "gnatls -v" from a= cmd prompt. The winrt gpr's need to be inline with gnatls Also, note that the runtime parameter in winrt.gpr is I believe case sensit= ive Alex