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: Thu, 20 Sep 2018 09:51:10 +0200
Date: 2018-09-20T09:51:10+02:00	[thread overview]
Message-ID: <pnvjhf$gdq$1@dont-email.me> (raw)
In-Reply-To: <ly5zz1k05s.fsf@pushface.org>

On 2018-09-19 16:54, Simon Wright wrote:
> Björn Lundin <b.f.lundin@gmail.com> writes:
> 
>> gprbuild -j0 -m -p -XLIBRARY_TYPE=relocatable -XBUILD=Production
>> -XPROCESSORS=0 xmlada.gpr
>> Build Libraries
>>    [gprlib]       xmlada_unicode.lexch
>>    [link library] libxmlada_unicode.dll
>> d:/apps/tools/mingw2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
>> D:\apps\tools\MinGW2\xmlada_tmp\tags\xmlada-4.6.1\unicode\obj\relocatable\unicode-ccs-iso_8859_1.o:unicode-ccs-iso_8859_1.adb:(.text+0x54):
>> undefined reference to `system__img_uns__set_image_unsigned'
> 
> etc - I've no idea how to go about fixing this Windows/mingw problem,
> other than to try to sidestep it by not trying to build the shared
> (relocatable) library (try configuring with --disable-shared).
> 

Ok - I got a little bit further - I disabled shared as you suggested.
However that got me the same result.
But - I did the ./configure from a bash/mingw prompt.
It failed when make was executed in bash/mingw.
But when I started an ordinary cmd.exe prompt I get


d:\apps\tools\MinGW2\xmlada_tmp\branches\18.2
>  mingw32-make all install
gprbuild -j0 -m  -p -XLIBRARY_TYPE=static -XBUILD=Production
-XPROCESSORS=0 xmlada.gpr
gprinstall --uninstall -XBUILD=Production -XPROCESSORS=0
--prefix=/ada/xml/18.2 \
        --project-subdir=lib/gnat xmlada
Uninstall project xmlada
gprinstall -f -p -XLIBRARY_TYPE=static -XBUILD=Production -XPROCESSORS=0 \
        --prefix=/ada/xml/18.2 --project-subdir=lib/gnat \
        --build-var=XMLADA_BUILD --build-name=static \
        --install-name=xmlada xmlada.gpr
Install project XmlAda_Schema - static
Install project XmlAda_Dom - static
Install project XmlAda_Sax - static
Install project XmlAda_Unicode - static
Install project XmlAda_Input - static
warning: path does not exist
'd:\apps\tools\mingw2\xmlada_tmp\branches\18.2\input_sources\../docs/_build/html/'
warning: path does not exist
'd:\apps\tools\mingw2\xmlada_tmp\branches\18.2\input_sources\../docs/_build/latex/'

d:\apps\tools\MinGW2\xmlada_tmp\branches\18.2


> You shouldn't need to rebuild gprbuild, not sure why anyone's suggesting
> it.

This is with gprbuild from pacman - the 18.0 one
setting path to the 18.2 one makes it worse.


So - it looks better - but still no libraries insatlled.
I'll keep digging for a while.



-- 
--
Björn


  parent reply	other threads:[~2018-09-20  7:51 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
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 [this message]
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