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: Fri, 21 Sep 2018 14:04:47 +0200
Date: 2018-09-21T14:04:47+02:00	[thread overview]
Message-ID: <po2mpa$keb$1@dont-email.me> (raw)
In-Reply-To: <ly7ejgi2en.fsf@pushface.org>

On 2018-09-20 18:01, Simon Wright wrote:
> Björn Lundin <b.f.lundin@gmail.com> 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

  reply	other threads:[~2018-09-21 12:04 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
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 [this message]
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