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: Fri, 21 Sep 2018 14:04:47 +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: Fri, 21 Sep 2018 12:04:58 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="3cab2ab3c9a8c06287e9743dde443227"; logging-data="20939"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/IUoTaqmWrFeyqfhznLtaY" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 Cancel-Lock: sha1:M1eSvMPzI+wzW2lzF1oN2muYEQw= In-Reply-To: Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:54394 Date: 2018-09-21T14:04:47+02:00 List-Id: On 2018-09-20 18:01, Simon Wright wrote: > Björn Lundin writes: > >> and it is the *.ali and lib*.a but no *.ads and no *.gpr > > I'd expect the source files to be somewhere under $prefix/include > Yes - but there are no include directories... This - and the other strange things - made me try it on a win10 box. I did all the above on a win2016 box. clean install of msys2. grabbed xmlada (gpl-2018) and it compiled ok (with --disable-shared) grabbed aws (gpl-2018) and it did NOT compile ok got lots of warnings and some errors which seems bad. See below. But I _think_ they are in the templates-parser, which we do not use. commented out quite a bit and then win32\build.cmd path/to/installation worked. copied the libs from win10 -> win2016. Generated the system from scratch went good started went well. Now I'm in for some heavy testing. ^ aws-os_lib-tmplt.c:323:11: warning: asm operand 1 probably doesn't match constraints /*NOGEN*/ CND(SIN_FAMILY_OFFSET, "sin_family offset in record"); ^~~ aws-os_lib-tmplt.c:342:11: warning: asm operand 1 probably doesn't match constraints /*NOGEN*/ CND(AI_FLAGS_OFFSET, "???"); ^~~ aws-os_lib-tmplt.c:343:11: warning: asm operand 1 probably doesn't match constraints /*NOGEN*/ CND(AI_FAMILY_OFFSET, "???"); ^~~ aws-os_lib-tmplt.c:344:11: warning: asm operand 1 probably doesn't match constraints /*NOGEN*/ CND(AI_CANONNAME_OFFSET, "???"); ^~~ aws-os_lib-tmplt.c:345:11: warning: asm operand 1 probably doesn't match constraints /*NOGEN*/ CND(AI_ADDR_OFFSET, "???"); ^~~ aws-os_lib-tmplt.c:323:11: error: impossible constraint in 'asm' /*NOGEN*/ CND(SIN_FAMILY_OFFSET, "sin_family offset in record"); ^~~ aws-os_lib-tmplt.c:342:11: error: impossible constraint in 'asm' /*NOGEN*/ CND(AI_FLAGS_OFFSET, "???"); ^~~ aws-os_lib-tmplt.c:343:11: error: impossible constraint in 'asm' /*NOGEN*/ CND(AI_FAMILY_OFFSET, "???"); ^~~ aws-os_lib-tmplt.c:344:11: error: impossible constraint in 'asm' /*NOGEN*/ CND(AI_CANONNAME_OFFSET, "???"); ^~~ aws-os_lib-tmplt.c:345:11: error: impossible constraint in 'asm' /*NOGEN*/ CND(AI_ADDR_OFFSET, "???"); ^~~ /usr/bin/sh: line 4: ../xoscons: No such file or directory mingw32-make[1]: *** [Makefile:90: ../.build/x86_64-w64-mingw32/release/../setup/src/aws-os_lib.ads] Error 127 mingw32-make: *** [Makefile:162: config_setup] Error 2 -- -- Björn