Hello Jeff,
See some answers below.
Regards, Pascal.
http://blady.pagesperso-orange.fr


> Le 5 nov. 2017 à 15:12, Jeffrey R. Carter <jrcar...@acm.org> a écrit :
> 
> On 11/04/2017 12:18 PM, Pascal wrote:
>> 
>> My bad, more lines have to be changed in Gnoga makefile, see attached patch:
> 
> With that patch, make all proceeds successfully until tutorial_10.adb, and
> trying to rebuild an existing application fails as before.

See below.

> 
>> Well sqlite3 is present as default on macOS.
>> Isn't there some path from your Xubuntu libs to add to the linker?
>> What is your target name (to add it in the supported ones)? Do make help.
>> Gnoga makefile foresees building it but only for Windows.
>> You can force to build it with:
>> make sqlite3
> 
> I don't have sqlite3 and it was never needed before. Building the tutorials 
> that
> use it (10 and 11) failed before, but their failure didn't cause the overall
> make to fail. The prior behavior seems desirable.

Bad regression, I'll fix it with following patch:
-       cd tutorial/tutorial-10 && $(BUILDER) -Ptutorial_10.gpr 
-XPRJ_TARGET=${PRJ_TARGET}
-       cd tutorial/tutorial-11 && $(BUILDER) -Ptutorial_11.gpr 
-XPRJ_TARGET=${PRJ_TARGET}
+       - cd tutorial/tutorial-10 && $(BUILDER) -Ptutorial_10.gpr 
-XPRJ_TARGET=${PRJ_TARGET}
+       - cd tutorial/tutorial-11 && $(BUILDER) -Ptutorial_11.gpr 
-XPRJ_TARGET=${PRJ_TARGET}

> 
>> You need to add installed component GPR paths with GPR_PROJECT_PATH, do make 
>> help to take yours.
> 
> I don't understand this sentence. No additional action was needed before and I
> don't see why it should be needed now.

In 1.3, source files of deps (Simple components, Zanyblue, PramgArc) are no 
more mixed with Gnoga source files. There are built and installed as separate 
libraries in "build" directory.
Thus when building your own application GPR_PROJECT_PATH is needed to tell 
gprbuild to find them.
For instance:
GPR_PROJECT_PATH = /gnoga-1.3a/build/share/gpr:/gnoga-1.3a/build/lib/gnat
See make help prompt for your own settings.

> 
>> From the beginning Gnoga makes copying of components / plugins in src 
>> directory, as Pixi is a new one in 1.3, it is not supported in 1.2.
>> You need to remove it before from 1.3, do make clean_all.
>> Well, I'm not satisfied by the actual behavior but I really not found a 
>> better.
> 
> Removing them allows the make to finish. This hasn't arisen before because I
> never had to go back to an earlier version.

I wonder about a script parsing the plugin directories and making a dynamic gpr 
project with references to source files instead of copying source files.

> 
> -- 
> Jeff Carter
> "The men get one hot meal a day: a bowl of steam."
> Take the Money and Run
> 145


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to