comp.lang.ada
 help / color / mirror / Atom feed
From: Victor Porton <porton@narod.ru>
Subject: Re: Upgrading GNAT GPS 5.0 -> 5.3
Date: Wed, 13 Aug 2014 23:10:31 +0300
Date: 2014-08-13T23:10:31+03:00	[thread overview]
Message-ID: <lsggnj$n1m$1@speranza.aioe.org> (raw)
In-Reply-To: 53ebbf4c$0$32613$862e30e2@ngroups.net

Per Sandberg wrote:

> postinstall for gprbuild has not been performed.
> Run gprconfiog to correct to select the default compilers.
> For further info see the manual.

The problem was fixed by updating the package gprbuild.

However a new problem appeared:

-lraptor2 is not passed to the linker, what causes error messages about 
undefined symbols.

I have in test.gpr

   package Compiler is
      for Default_Switches ("ada") use ("-g", "-O2", "-gnat2012");
   end Compiler;

   package Linker is
      for Linker_Options use ("-lraptor2");
   end Linker;

You can view test.gpr file entirely at

https://github.com/vporton/redland-bindings/blob/ada2012/ada/test.gpr

> /Per
> 
> 
> On 13.08.2014 21:33, Victor Porton wrote:
>> Simon Wright wrote:
>>
>>> Victor Porton <porton@narod.ru> writes:
>>>
>>>> After upgrading GNAT GPS 5.0 -> 5.3 (Debian Linux) the project files
>>>> stopped to work.
>>>>
>>>> I was forced to downgrade.
>>>>
>>>> What to do? How to upgrade the project files?
>>>
>>> No idea, since I can't see the error messages (if any) on your computer
>>> screen.
>>>
>>> GPS uses gnatmake (or gprbuild) to do the actual build, so you should be
>>> able to run the build just as well from the command line, which will
>>> make it easier to see what's going wrong.
>>
>>  From inside GNAT GPS:
>>
>> gprbuild -d -P/home/porton/Projects/redland-bindings/ada/test.gpr -
>> XRUNTIME=full -XMODE=Install run_all_tests.adb --subdirs=check -cargs:Ada
>> -g -O0 -gnato -fstack-check -gnatVa -cargs:C -g -O0 -fstack-check
>> -cargs:C++ -g -O0 -fstack-check
>> test.gpr:4:09: no languages defined for this project
>> librdf.gpr:1:17: no languages defined for this project
>> librdf.gpr:3:25: warning: libraries are not supported on this platform
>> aunit_build.gpr:3:09: no languages defined for this project
>> aunit_build.gpr:22:25: warning: libraries are not supported on this
>> platform gprbuild: "/home/porton/Projects/redland-bindings/ada/test.gpr"
>> processing failed
>> [2014-08-13 22:29:54] process exited with status 4 (elapsed time: 00.40s)
>>
>> My project is available at
>>
>> https://github.com/vporton/redland-bindings/tree/ada2012
>>
>>> And I don't recognise "GNAT GPS 5.0" (or "5.3"). Do you mean GNAT GPL
>>> 2013/2014? (GPS comes as part of the compiler bundle from
>>> libre.adacore.com now). Or is this in a Debian package?
>>
>> I use Debian package gnat-gps 5.3-2.2 with gnat 4.9.
>>
-- 
Victor Porton - http://portonvictor.org


  reply	other threads:[~2014-08-13 20:10 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-13 17:50 Upgrading GNAT GPS 5.0 -> 5.3 Victor Porton
2014-08-13 19:17 ` Victor Porton
2014-08-13 19:28 ` Simon Wright
2014-08-13 19:33   ` Victor Porton
2014-08-13 19:41     ` Per Sandberg
2014-08-13 20:10       ` Victor Porton [this message]
2014-08-13 20:29         ` Björn Lundin
2014-08-13 20:36           ` Victor Porton
2014-08-13 22:36             ` Björn Lundin
2014-08-14 12:03               ` Victor Porton
2014-08-14  7:19         ` Egil H H
2014-08-14  7:32           ` Simon Wright
2014-08-14  8:00           ` Dmitry A. Kazakov
2014-08-14 12:14           ` Victor Porton
2014-08-14 12:18           ` Victor Porton
2014-08-14 15:56             ` Dmitry A. Kazakov
2014-08-14 15:59               ` Victor Porton
2014-08-14 16:09                 ` Dmitry A. Kazakov
2014-08-14 16:15                   ` Victor Porton
2014-08-14 16:49                     ` Simon Wright
2014-08-14 17:18                       ` Victor Porton
2014-08-14 17:22                     ` Dmitry A. Kazakov
2014-08-14 17:27                       ` Victor Porton
2014-08-14 17:32                         ` Simon Wright
2014-08-14 17:43                           ` Victor Porton
2014-08-14 20:03                             ` Dmitry A. Kazakov
2014-08-14 20:27                               ` Victor Porton
2014-08-15  7:00                                 ` Dmitry A. Kazakov
2014-08-15 12:06                                   ` porton.victor
2014-08-16 11:53                                   ` Stephen Leake
2014-08-15  6:36                               ` Simon Wright
2014-08-14 20:50                             ` Simon Wright
2014-08-15 12:07                               ` porton.victor
2014-08-16 11:55                                 ` Stephen Leake
2014-08-16 16:11                                 ` Simon Wright
replies disabled

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