Sorry, was looking at this through gmail interface, so I missed that you
attached the tutorial_01.gpr file already.  It's definitely heavily
modified.  Have you tried backing off all the options and getting to a
smaller simpler GPR file that doesn't fail, then adding them back in one or
two at a time until it breaks?

On Sun, Apr 28, 2019 at 10:39 PM Jeremiah Breeden <
[email protected]> wrote:

> Based on the paths you provided and the location of the tutorial.adb file
> you gave in your original email, it looks like you changed up the relative
> locations of all the files.  I think you might have a mistake in locating
> something because of this change.
>
> You list tutorial.adb's path as
> /media/4To/Donnees/Courrier/020-Ada/M-Sources/100-Gnoga/tutorial_01/A-src/tutorial_01.adb,
> but the original tutorial_01 directory did not have a src directory
> inside.  Additionally you moved settings.gpr to a different relative
> position to the gnoga source.  Can you paste the contents of your
> tutorial_01.gpr file here in an email.  I want to see the with lines and
> all the locations of the src/exec/obj/etc.
>
> I was not personally able to replicate your error, but I am working from
> windows and do not have linux (so that may be different then).  Maybe
> someone working with linux has a better idea?  I may not be able to help
> further if there is a linux related reason (will still try though).
>
> On Sun, Apr 28, 2019 at 6:52 AM Dubois <[email protected]> wrote:
>
>> Thanks to all.
>>
>> Marc
>>
>> --========----
>> 1.  What version of GNAT are you using?
>> ~$ gnat
>>
>> GNAT 7.3.0
>> Copyright 1996-2017, Free Software Foundation, Inc.
>>
>> List of available commands
>>
>> gnat bind               gnatbind-7
>> gnat chop               gnatchop-7
>> gnat clean              gnatclean-7
>> gnat compile            gnatmake-7 -f -u -c
>> gnat check              gnatcheck-7
>> gnat elim               gnatelim-7
>> gnat find               gnatfind-7
>> gnat krunch             gnatkr-7
>> gnat link               gnatlink-7
>> gnat list               gnatls-7
>> gnat make               gnatmake-7
>> gnat metric             gnatmetric-7
>> gnat name               gnatname-7
>> gnat preprocess         gnatprep-7
>> gnat pretty             gnatpp-7
>> gnat stack              gnatstack-7
>> gnat stub               gnatstub-7
>> gnat test               gnattest-7
>> gnat xref               gnatxref-7
>> 2.  What version of GPRBUILD do you have and why are you using gnatmake
>> instead of gprbuild?
>> ~$ gprbuild --version
>> GPRBUILD GPL 2017 (20170515) (x86_64-pc-linux-gnu)
>> Copyright (C) 2004-2017, AdaCore
>> This is free software; see the source for copying conditions.
>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>> PARTICULAR PURPOSE.
>>
>> -I ignored it could run directly with gprbuild.
>> gnatmake has an option to use directly gpr file, it's easy tu put all
>> parameters in a gpr file, so..
>> -What's the difference between the 2, please?
>>
>> 3.  What is the absolute path of the gnoga source directory and the
>> settings.gpr file?
>>
>> @PC:/media/4To/Donnees/Courrier/020-Ada$ ls
>> Install_trial  M-Sources  O-Projets  P-Exec  X-Bibliotheque  Y-Outillage
>> Z-Doc
>>
>> @PC:/media/4To/Donnees/Courrier/020-Ada/M-Sources$
>>
>> @PC:/media/4To/Donnees/Courrier/020-Ada/O-Projets$
>>
>>
>> Le 28/04/2019 à 02:51, Jeremiah Breeden a écrit :
>>
>> I would guess it is either your version of GNAT and GPRBUILD or your
>> folder structure (this is more likely given your error).  The GPR file uses
>> relative paths for source and settings.  The path you showed is different
>> than the original gnoga path, so I don't know if you have all the other
>> files correctly located or not.  If you still need help, please answer the
>> following questions:
>>
>> 1.  What version of GNAT are you using?
>> 2.  What version of GPRBUILD do you have and why are you using gnatmake
>> instead of gprbuild?
>> 3.  What is the absolute path of the gnoga source directory and the
>> settings.gpr file?
>>
>> Please answer in full!  Thanks!
>> Jeremiah
>>
>> On Sat, Apr 27, 2019 at 8:03 AM Dubois <[email protected]> wrote:
>>
>>> Hi Jeremiah,
>>>    it's a strange case, it doesn't work with the 1st option below
>>> (compilation1) but it works correctly (release) with the 2d one &  i have
>>> no any idea why !
>>>    Your help is welcomed.
>>> Thks you
>>> Regards
>>> Marc
>>> Ps : Full original file in attached piece.
>>> I guess it's a problem with gpr file
>>>
>>> _______________________________________________
>>> Gnoga-list mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>>>
>>
>>
>> _______________________________________________
>> Gnoga-list mailing 
>> [email protected]https://lists.sourceforge.net/lists/listinfo/gnoga-list
>>
>> _______________________________________________
>> Gnoga-list mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>>
>
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to