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 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: Thu, 20 Sep 2018 09:51:10 +0200 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 20 Sep 2018 07:51:11 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="8eda5d005b56d7709cc3fd4e6103a88d"; logging-data="16826"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CacPwNbCERUVAPkFMtsNv" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 Cancel-Lock: sha1:9QYxgkxHaz3/k1vcPTWYI1jKyCo= In-Reply-To: Content-Language: sv-FI Xref: reader02.eternal-september.org comp.lang.ada:54386 Date: 2018-09-20T09:51:10+02:00 List-Id: On 2018-09-19 16:54, Simon Wright wrote: > Björn Lundin 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