----------------------------------------------------------------------------------
@MSGID: 1@dont-email.me> f96d4a39
@REPLY:
<19d89db4-8f09-4a19-9297-9cdf7eff5563n@googlegroups.com> 4ec46d8f
@REPLYADDR richardthiebaud
<thiebauddick2@aol.com>
@REPLYTO 2:5075/128 richardthiebaud
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References: 1@dont-email.me>
<19d89db4-8f09-4a19-9297-9cdf7eff5563n@googlegroups.com>
@TZUTC: -0400
@PID: Mozilla/5.0 (X11; Linux x86_64; rv:102.0)
Gecko/20100101 Thunderbird/102.15.0
@TID: FIDOGATE-5.12-ge4e8b94
On 9/17/23 13:42, reinert wrote:
> s?ndag 17. september 2023 kl. 19:27:12 UTC+2 skrev richardthiebaud:
>> I have a main program crypt.adb I have a seperate project randproj.ads
>> and randproj.adb crypt has a line "with randproj" but when I compile
>> crypt either directly with gnat or with alr it does not find randproj.
>>
>> crypt.adb, randproj.ads, and randproj.adb are all in the same directory.
>>
>> I have the feeling I`m missing something easy to do.
>>
>> How do I get crypt.adb to find randproj.ads?
>
> In the gpr file, have you: for Source_Dirs use ("src", ...
> ?
Thanks, that did it.
--- Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.0
* Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441