comp.lang.ada
 help / color / mirror / Atom feed
From: alby.gamper@gmail.com
Subject: Re: ANN: VisualAda (Ada Integration for Visual Studio 2017 & 2019) release 1.1.12
Date: Sat, 27 Apr 2019 21:34:11 -0700 (PDT)
Date: 2019-04-27T21:34:11-07:00	[thread overview]
Message-ID: <df352ec8-67af-4bae-a041-27e904d42f13@googlegroups.com> (raw)
In-Reply-To: <67e68b33-4fa1-45fc-aac5-3294258bb4da@googlegroups.com>

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,
> > 
> > Sorry I took so long to get back to you - work, sick family, one thing after another :-(.
> > 
> > Yes, I'm using GNAT Community 2018 64-bit and GNAT is on my PATH.
> > 
> > After setting "git config --global core.autocrlf false", I was able to clone both repos successfully and begin building without goofy line terminator errors.
> > 
> > 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.
> > 
> > However, when trying to build the WinRT Bindings, I instantly get a "gprconfig: can't find a native toolchain for language 'ada', runtime 'Winrt_Runtime'" error. I know it's a path/dir/install issue of some kind and I'm continuing 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.
> > 
> > I think I'm very close :-), and will let you know. (The payoff is certainly worth the effort.)
> > 
> > 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 version
> 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 sensitive
> 
> Alex

Hi Greg

Also, if you run "gnatls -v --RTS=Winrt_Runtime" after the build and install
of the Winrt Runtime, It will confirm correct installation. Here is the output
from my default MSYS2 environment

C:\>gnatls -v --RTS=Winrt_Runtime

GNATLS 8.3.0
Copyright (C) 1997-2018, Free Software Foundation, Inc.

Source Search Path:
   <Current_Directory>
   C:\msys64\mingw64\lib\gcc\x86_64-w64-mingw32\8.3.0\rts-Winrt_Runtime\adainclude


Object Search Path:
   <Current_Directory>
   C:\msys64\mingw64\lib\gcc\x86_64-w64-mingw32\8.3.0\rts-Winrt_Runtime\adalib


Project Search Path:
   <Current_Directory>
   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:\>


  reply	other threads:[~2019-04-28  4:34 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-12 11:03 ANN: VisualAda (Ada Integration for Visual Studio 2017 & 2019) release 1.1.12 alby.gamper
2019-04-17 15:52 ` Ark Man
2019-04-17 20:10   ` Greg
2019-04-20  4:23     ` alby.gamper
2019-04-20  4:52       ` alby.gamper
2019-04-28  3:19         ` Greg
2019-04-28  3:57           ` alby.gamper
2019-04-28  4:34             ` alby.gamper [this message]
2019-04-29 18:18               ` Greg
2019-04-30  9:38                 ` alby.gamper
2019-04-30 20:57                   ` Greg
2019-05-01 11:56                     ` alby.gamper
2019-05-01 16:45                       ` Greg
2019-05-03 11:52                         ` alby.gamper
2019-05-03 12:05                           ` alby.gamper
2019-05-03 12:11                             ` alby.gamper
2019-05-04  2:31                               ` Greg
2019-05-04  2:53                                 ` Greg
2019-05-04  5:23                                   ` alby.gamper
2019-05-04  5:33                                     ` alby.gamper
2019-05-04 13:31                                       ` Greg
2019-05-04 13:45                                         ` alby.gamper
2019-05-05  8:40                                         ` alby.gamper
replies disabled

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