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.1 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?Bj=c3=b6rn_Lundin?= Newsgroups: comp.lang.ada Subject: Re: gnat via msys2 pacman + xml/ada Date: Wed, 19 Sep 2018 15:06:52 +0200 Organization: A noiseless patient Spider Message-ID: References: <7d702172-407e-4bc4-865e-214807540692@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 19 Sep 2018 13:06:52 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="ed743b6ee3f0b8ea2a4612f16ec0e91e"; logging-data="5662"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19TPphkKXTsTdF5kraUsJHm" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 Cancel-Lock: sha1:mxkU5T7gIrIXmUQZoFAgE0mqrCg= In-Reply-To: <7d702172-407e-4bc4-865e-214807540692@googlegroups.com> Content-Language: sv-FI Xref: reader02.eternal-september.org comp.lang.ada:54367 Date: 2018-09-19T15:06:52+02:00 List-Id: On 2018-09-19 11:56, alby.gamper@gmail.com wrote: > Hi Björn > > The most recent version of xmlada can be found at > https://github.com/AdaCore/xmlada (same for gprbuild) Yes, I got the whole tree. I get the same result for 4.6.1 as for 18.2 - lots of unresolved symbols. > > I've found these to build/work on msys2, and as you > have already mentioned/noticed, you need to bootstrap > gprbuild first, and have the xmlada sources available > Hmm, yes - do you have anything more detailed ? I don't quite follow this boostrap thing. Does gprbuild depend on xmlada? looking in the branches/gprbuild-1.6 directory it is still xmlada $ ./configure --help `configure' configures XML/Ada 4.2w to adapt to many kinds of systems. > The build instructions are self explanatory, hmm, I have to disagree... > and from > memory you need to specify the xmlada source directory > when building/installing gprbuild (bootstrap) are you talking about the gprbuild in https://github.com/AdaCore/xmlada ? > After which you need to go back and build xmlada with gprbuild It seems that I'm on the wrong rack. No matter what I do I get unresolved symbols. The gprbuild from pacman is 18.0w. The one from github is within the 18.2 tree but the gprbuild --version shows 18.1 Neither works now to build xmlada 18.2 sattmate@caleb MINGW64 /xmlada_tmp/branches/18.2 $ ./configure --prefix=/ada/xml/18.2 configure: loading site script /mingw64/etc/config.site checking build system type... x86_64-w64-mingw32 checking host system type... x86_64-w64-mingw32 checking target system type... x86_64-w64-mingw32 checking whether gnat can build shared libs... no checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... no, using cp -pR configure: creating ./config.status config.status: creating shared.gpr config.status: creating Makefile config.status: creating tests/dom/default.gpr ok good sattmate@caleb MINGW64 /xmlada_tmp/branches/18.2 $ mingw32-make all install gprbuild -j0 -m -p -XLIBRARY_TYPE=static -XBUILD=Production -XPROCESSORS=0 xmlada.gpr No valid configuration found Generation of configuration files failed GNAT-TEMP-000001.TMP:1:01: "project" expected gprbuild: processing of configuration project "C:\tmp\GNAT-TEMP-000001.TMP" failed mingw32-make: *** [Makefile:61: static] Error 4 sattmate@caleb MINGW64 /xmlada_tmp/branches/18.2 $ gprbuild --version GPRBUILD Pro 18.1 (19940713) (x86_64-w64-mingw32) -- -- Björn