Further to my previous post. I don't think the problem is gprbuild, its building a correct gpr file(?); the problem is that GNAT is not interpreting the gpr file correctly? If so, then this is the bug in GNAT?
Regards Roger On 28/04/2010, at 11:03 AM, Roger Mc Murtrie wrote: > Oops, I think I accidentally sent you this message before editing it! > In the process I'd forgotten what the bug was that I was to report. > I guess this is it but I'll wait for Vadim's response to my info that I'm > using GPRBUILD GPL 1.2.0w (20080521) > I installed it from gnat-gprbuild-1.2.0.pkg in case there's a Mac compatible > version that I haven't located. > Google indicates that there's a 1.3.0 out there for Ubuntu which, from > Google, I see you're well aware of. > From http://www.keyongtech.com/5095983-gnat-gpl-2009-a it seems that gprbuild > was purposely left out of Libre's GNAT 2009 > as well as the version that I have which is a modified version of the fsf > GNAT. > So, I suppose that's the "bug" (gprbuild not included in package) which seem, > from this reference, to be well known? > I'll keep looking to see if I can find any more info. > Regards, > Roger > > > > > On 28/04/2010, at 10:25 AM, Stephen Leake wrote: > >> Roger Mc Murtrie <[email protected]> writes: >> >>> I just tried a new unpack of the QtAda tar file, then >>> ./configure >>> gprconfig -o gnat/config.cgpr --target=i386-apple-darwin10.2.0 --config=ada >>> --config=c++ --batch >>> which produced, as you suggested: >>> Creating configuration file: gnat/config.cgpr >>> make then ran as far as: >>> gprbuild -j2 -p -aP../../gnat -aP../../gnat --config=../../gnat/config.cgpr >>> -Psource_core.gpr >>> config.cgpr:6:08: undefined attribute "target" >>> config.cgpr:10:08: undefined attribute "runtime_source_dir" >>> config.cgpr:22:08: undefined attribute "separate_run_path_options" >>> config.cgpr:32:11: undefined attribute "leading_required_switches" >>> config.cgpr:33:18: unknown attribute "leading_required_switches" >>> gprbuild: processing of configuration project >>> "/Ada_Source/qtada-gpl-3.1.0/gnat/config.cgpr" failed >>> >>> which is a problem I am currently faced with. >> >> This is a packaging error. The version of the "gpr" language that >> gprconfig is writing into config.cgpr is not compatible with the version >> that gprbuild supports. >> >> The C++ errors in your previous email are also evidence of a packaging error. >> >> You'll have to get in touch with the people that built your GNAT >> package, or try to rebuild it yourself. >> >> -- >> -- Stephe > _______________________________________________ qtada-users mailing list [email protected] http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com
