comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Lundin" <b.f.lundin@gmail.com>
Subject: Re: gnat via msys2 pacman + xml/ada
Date: Wed, 19 Sep 2018 15:06:52 +0200
Date: 2018-09-19T15:06:52+02:00	[thread overview]
Message-ID: <pnthlc$5gu$1@dont-email.me> (raw)
In-Reply-To: <7d702172-407e-4bc4-865e-214807540692@googlegroups.com>

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

  reply	other threads:[~2018-09-19 13:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-19  8:47 gnat via msys2 pacman + xml/ada Björn Lundin
2018-09-19  9:56 ` alby.gamper
2018-09-19 13:06   ` Björn Lundin [this message]
2018-09-20  6:49     ` briot.emmanuel
2018-09-20  7:35       ` Björn Lundin
2018-09-19 10:39 ` Alejandro R. Mosteo
2018-09-19 13:08   ` Björn Lundin
2018-09-19 14:54 ` Simon Wright
2018-09-20  2:44   ` Jere
2018-09-20  7:51   ` Björn Lundin
2018-09-20  9:17     ` Simon Wright
2018-09-20  9:27       ` Björn Lundin
2018-09-20 10:06         ` Simon Wright
2018-09-20 10:51           ` Björn Lundin
2018-09-20 16:01             ` Simon Wright
2018-09-21 12:04               ` Björn Lundin
2018-09-24 10:46 ` Maxim Reznik
2018-09-24 10:51   ` Björn Lundin
replies disabled

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