Hi Chip,

I don't usually install Gnoga but download it into a directory and then in the 
project (gpr-file) that I create I with the gnoga/src/gnoga.gpr file. You may 
need to edit the gnoga.gpr file or some other file it depends upon in order to 
make the Ada code compile because it usually doesn't work out of the box, and 
it's because Gnoga wasn't intended to be used like that. It is my impression 
Gnoga is intended to be used through building all the Gnoga code and then 
install gnoga globally so that all Gnoga applications use one and the same 
version of Gnoga. I can imagine that the global installation of Gnoga has its 
spec files readonly and the package bodies are not included because the code 
has been pre-compiled into a static library. I prefer to be able to edit the 
Gnoga code directly, compile through the GPS and see the effect of the Gnoga 
code changes immediately and that each of my gnoga projects has its own version 
of Gnoga source code.


I hope you are successfull in your attempts to re-compile all the Ada code with 
one and the same Ada compiler. Perhaps it's a path issue?


Best regards,

Joakim

________________________________
Från: Chip at Twirling Hall <c...@twirling-hall.com>
Skickat: den 10 maj 2021 03:07:23
Till: gnoga-list@lists.sourceforge.net
Ämne: [Gnoga-list] Rebuilding from scratch

I've cloned the repository and built (and run) tutorial_01.  I am now trying to 
integrate Gnoga into my GNAT project tree. I am getting errors that files must 
be recompiled because of different GNAT versions, but I can't figure out which 
of the existing Gnoga projects to use to make sure I get a clean build of 
everything.

Can someone point me to some info about how to build from scratch?

Thanks!
Chip Staples
Chief Engineer, Twirling Hall LLC
434-989-3995
c...@twirling-hall.com
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to