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 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.129.84.2 with SMTP id i2mr5054519ywb.148.1496467646835; Fri, 02 Jun 2017 22:27:26 -0700 (PDT) X-Received: by 10.157.46.184 with SMTP id w53mr225816ota.20.1496467646795; Fri, 02 Jun 2017 22:27:26 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!s24no159954qte.0!news-out.google.com!k7ni3731itk.0!nntp.google.com!67no807429itx.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 2 Jun 2017 22:27:26 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=176.59.43.126; posting-account=YB4WOgoAAABLG9D7qoJiPBc6EJSzsPDF NNTP-Posting-Host: 176.59.43.126 References: <8a6ead33-539c-434d-a868-9b1086306824@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8f919c42-771a-4137-aa4c-16e9da213978@googlegroups.com> Subject: Re: Ada, Windows x64 building From: George J Injection-Date: Sat, 03 Jun 2017 05:27:26 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:46889 Date: 2017-06-02T22:27:26-07:00 List-Id: [SOLVED] So,thanks to Alex,yesterday i began trying in building x64 app in Windows w= ith GNAT GPS. So i found solution. If any interested in it, there is some s= teps (according to this article (rus) http://www.ada-ru.org/start) 1. download and install msys2 from http://www.msys2.org/ 2. run x64 msys shell and install ada compiler :=20 pacman -S mingw-w64-x86_64-gcc-ada 2.1 if you want x64 gdb debugger : pacman -S mingw-w64-x86_64-gdb 3. there are some other components to install : pacman -S mingw-w64-x86_64-gprbuild-gpl pacman -S mingw-w64-x86_64-aws pacman -S mingw-w64-x86_64-asis pacman -S mingw-w64-x86_64-matreshka after that you have to set environment variable PATH to the destination "\m= ingw64\bin" (for example C:\msys64\mingw64\bin), because gnat1.exe need lib= raries from there. And reboot, sometime it necessary;) then you have to find file toolchains.py in your gnat directory (ex. : C:\G= NAT\2016\share\gps\support\core ) and add toolchain for the x64 building as in this example: C:\msys64\mingw64\bin\gnat C:\msys64\mingw64\bin\gnatls C:\msys64\mingw64\bin\gdb c++filt C:\msys64\mingw64\bin\gnatmake C:\msys64\mingw64\bin\gcc C:\msys64\mingw64\bin\g++ C:\msys64\mingw64\bin\gcc of course you have to paste your own paths. Then you create your project or open current with GNAT GPS. Go to Project->= Properties->Toolchain, press "Add", open combobox and find your new toolcha= in (for ex. gnat_x64). When your checked it, make it active and check if pa= ths right (GNAT Driver, GNAT List, Debugger, Compilers.. all must destinate= to your x64 mingw paths as you have set in toolchains.py) after this you can set -m64 flag, or not set, as you wish. If you run debug= mode and make Debug->Data->Display Registers you'll see x64 registers. All done.