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 10.99.160.95 with SMTP id u31mr2275693pgn.55.1496271264360; Wed, 31 May 2017 15:54:24 -0700 (PDT) X-Received: by 10.157.84.36 with SMTP id j36mr259503oth.9.1496271264312; Wed, 31 May 2017 15:54:24 -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!67no273153itx.0!news-out.google.com!k7ni1142itk.0!nntp.google.com!67no273145itx.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 31 May 2017 15:54:24 -0700 (PDT) In-Reply-To: <8a6ead33-539c-434d-a868-9b1086306824@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=144.132.203.17; posting-account=wavAeAoAAAAZF_sXSZepBukuPCBO0Zqt NNTP-Posting-Host: 144.132.203.17 References: <8a6ead33-539c-434d-a868-9b1086306824@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada, Windows x64 building From: alby.gamper@gmail.com Injection-Date: Wed, 31 May 2017 22:54:24 +0000 Content-Type: text/plain; charset="UTF-8" Xref: news.eternal-september.org comp.lang.ada:46875 Date: 2017-05-31T15:54:24-07:00 List-Id: On Friday, May 5, 2017 at 2:30:31 PM UTC+10, George J wrote: > Hi all!Have anybody experience with building x64 dll on Windows? > I have Windows7 x64, GNAT GPL 2016. I've spent all yesterday evening in trying to build x64 dll. x86 builds well, but when i add > > ...for Default_Switches ("Ada") use ("-m64") > > i've got an error (don't remember original text) > > gnat1 : gcc key -m64 doesn't support ...(smth like this) > > then I replaced orig gnat/bin,lib files by files from mingw64 and got other ununderstandable errors. > > So i'd like to know, how can i build Windows x64 binaries with Ada. I think it is impossible with GNAT GPL 2016. > Thanks! Hi George You are correct, you cant build x64 applications using GNAT GPL 20xx. However, you can however build/compile your own GNAT version using mingw64. I find it easiest to cross compile/build GNAT on Linux, and then copy the final distribution onto windows. Their are some detailed instructions on how to do this on the mingw64 website. They also have some pre-build distributions, BUT not all of them include GNAT/Ada Alex