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:a6b:e503:: with SMTP id y3-v6mr7854036ioc.32.1537785981814; Mon, 24 Sep 2018 03:46:21 -0700 (PDT) X-Received: by 2002:aca:f5cc:: with SMTP id t195-v6mr141460oih.0.1537785981637; Mon, 24 Sep 2018 03:46:21 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.215.MISMATCH!x188-v6no17893ite.0!news-out.google.com!c63-v6ni36ith.0!nntp.google.com!j6-v6no17517ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 24 Sep 2018 03:46:21 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=213.154.192.107; posting-account=K1cP1QoAAAD_GR6kW2Td0NqGqGBLRE8h NNTP-Posting-Host: 213.154.192.107 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <552cf0b5-eb53-440c-99ef-e3ddf2d028b0@googlegroups.com> Subject: Re: gnat via msys2 pacman + xml/ada From: Maxim Reznik Injection-Date: Mon, 24 Sep 2018 10:46:21 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:54413 Date: 2018-09-24T03:46:21-07:00 List-Id: I've used msys2 to build Matreshka project on Windows 64 before GNAT Community 2018 was released. At that time msys2 GNAT was most capable compiler to build it. The only solution I found is to move gnat*.dll, gnarl*.dll into adalib/ removing corresponding gna*.dll.a libraries. I used commands like that: adalib=$(dirname `gcc -print-libgcc-file-name`)/adalib bin_dir=$(dirname `which gcc`) rm -f ${adalib}/libgna{t,rl}-6.dll.a cp ${bin_dir}/libgna{t,rl}-6.dll ${adalib}/ After that I was able to link shared libraries. Best regards, -- Maxim Reznik