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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a5e:9417:: with SMTP id q23mr2727409ioj.51.1556426052805; Sat, 27 Apr 2019 21:34:12 -0700 (PDT) X-Received: by 2002:aca:de45:: with SMTP id v66mr4697884oig.84.1556426052246; Sat, 27 Apr 2019 21:34:12 -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!b2no452563itd.0!news-out.google.com!w17ni401itb.0!nntp.google.com!136no452029itk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 27 Apr 2019 21:34:11 -0700 (PDT) In-Reply-To: <67e68b33-4fa1-45fc-aac5-3294258bb4da@googlegroups.com> 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> <67e68b33-4fa1-45fc-aac5-3294258bb4da@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: 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 04:34:12 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:56206 Date: 2019-04-27T21:34:11-07:00 List-Id: On Sunday, April 28, 2019 at 1:57:15 PM UTC+10, alby....@gmail.com wrote: > 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 = after 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 = clone both repos successfully and begin building without goofy line termina= tor errors. > >=20 > > The WinRT Runtime built successfully according to your notes and seemed= to install correctly into "C:/home/greg/apps/GNAT/2018/lib/gcc/x86_64-w64-= mingw32/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 "gp= rconfig: can't find a native toolchain for language 'ada', runtime 'Winrt_R= untime'" error. I know it's a path/dir/install issue of some kind and I'm c= ontinuing to fiddle with the env variables/settings you mentioned (I assume= it 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 certa= inly worth the effort.) > >=20 > > Regards, > > Greg >=20 > Hi Greg >=20 > If you are using GNAT community edition, be aware that gcc/gnat by defaul= t will > use a target triplet of x86_64-pc-mingw32 and not *-w64-* and that the ve= rsion > number will be 7.3.1. So you will need to adjust the GPR files to use the= se > locations. >=20 > 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 >=20 > Also, note that the runtime parameter in winrt.gpr is I believe case sens= itive >=20 > Alex Hi Greg Also, if you run "gnatls -v --RTS=3DWinrt_Runtime" after the build and inst= all of the Winrt Runtime, It will confirm correct installation. Here is the out= put from my default MSYS2 environment C:\>gnatls -v --RTS=3DWinrt_Runtime GNATLS 8.3.0 Copyright (C) 1997-2018, Free Software Foundation, Inc. Source Search Path: C:\msys64\mingw64\lib\gcc\x86_64-w64-mingw32\8.3.0\rts-Winrt_Runtime\ada= include Object Search Path: C:\msys64\mingw64\lib\gcc\x86_64-w64-mingw32\8.3.0\rts-Winrt_Runtime\ada= lib Project Search Path: C:\msys64\mingw64\x86_64-w64-mingw32\Winrt_Runtime\lib\gnat C:\msys64\mingw64\x86_64-w64-mingw32\Winrt_Runtime\share\gpr C:\msys64\mingw64\x86_64-w64-mingw32\lib\gnat C:\msys64\mingw64\x86_64-w64-mingw32\share\gpr C:\msys64\mingw64\share\gpr C:\msys64\mingw64\lib\gnat C:\>