Nп/п : 5 из 100
 От   : reinert                             2:5075/128        17 сен 23 10:42:57
 К    : richardthiebaud                                       17 сен 23 20:45:03
 Тема : Re: Main program can`t find subprogram
----------------------------------------------------------------------------------
                                                                                 
@MSGID:
<19d89db4-8f09-4a19-9297-9cdf7eff5563n@googlegroups.com> 4ec46d8f
@REPLY: 1@dont-email.me> e02c79a5
@REPLYADDR reinert <reinkor@gmail.com>
@REPLYTO 2:5075/128 reinert
@CHRS: CP866 2
@RFC: 1 0
@RFC-References: 1@dont-email.me>
@RFC-Message-ID:
<19d89db4-8f09-4a19-9297-9cdf7eff5563n@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
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", ...
?
--- G2/1.0
 * Origin: usenet.network (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



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх