comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Where to good the good ASIS version for my version of GNAT ?
Date: Sat, 06 Nov 2010 13:55:41 +0000
Date: 2010-11-06T13:55:41+00:00	[thread overview]
Message-ID: <m21v6yzhcy.fsf@pushface.org> (raw)
In-Reply-To: op.vlqbr4kaule2fv@garhos

"Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr> writes:

> Le Sat, 06 Nov 2010 01:37:10 +0100, Simon Wright <simon@pushface.org>
> a écrit:
>> Hmm.
>>
>> In asis-2009-src/gnat/,
>>
>> . replace sinfo.ad[bs] by gcc-4.5.0/gcc/ada/sinfo.ad[bs]
>>
>> . replace gnatvsn.ads by gcc-4.5.0/gcc/ada/gnatvsn.ads
>>
>> . edit gnatvsn.adb to remove the 'gnatpro' choices, not in the .ads
>>
>> and build (in asis-2009-src/, "make all"). This ran at least one of the
>> examples in tutorial/using_asistant/black_box.scr.
> Impressive. Did you study the whole GNAT source ? Will try this too.

Thanks.

The gnatvsn changes were hinted at by Ludovic.

Without the sinfo read-across, the resulting program builds but crashes
with an assertion failure in sinfo.adb. Building ASIS for debug required
quite a few changes - the debug options effectively use the GNAT
development options which treat warnings, including style warnings, as
errors; and anyway for some reason GDB's 'break exception' didn't work,
I think this must be a Mac thing. Grr. Anyway, I realised that since
sinfo defines the tree structure which ASIS reads, having compatible
sinfo is vital.



  reply	other threads:[~2010-11-06 13:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-05  8:41 Where to good the good ASIS version for my version of GNAT ? Yannick Duchêne (Hibou57)
2010-11-05 10:44 ` Yannick Duchêne (Hibou57)
2010-11-05 11:00 ` sjw
2010-11-05 11:26   ` Yannick Duchêne (Hibou57)
2010-11-05 13:03     ` Ludovic Brenta
2010-11-06  0:37       ` Simon Wright
2010-11-06  3:25         ` Yannick Duchêne (Hibou57)
2010-11-06 13:55           ` Simon Wright [this message]
2010-11-06  5:28         ` Yannick Duchêne (Hibou57)
2010-11-06 12:14           ` Yannick Duchêne (Hibou57)
2010-11-06 14:11             ` Simon Wright
2010-11-08 17:51         ` Simon Wright
2010-11-06  3:22       ` Yannick Duchêne (Hibou57)
2010-11-06  6:19       ` Yannick Duchêne (Hibou57)
2010-11-06  8:53         ` Ludovic Brenta
2010-11-06 14:16           ` Simon Wright
2010-11-05 17:13 ` Vadim Godunko
2010-11-06  3:20   ` Yannick Duchêne (Hibou57)
2010-11-06  9:10   ` Yannick Duchêne (Hibou57)
2010-11-07  0:26 ` Yannick Duchêne (Hibou57)
replies disabled

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