From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: richardthiebaud Newsgroups: comp.lang.ada Subject: Main program can't find subprogram Date: Sun, 17 Sep 2023 13:27:09 -0400 Organization: A noiseless patient Spider Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 17 Sep 2023 17:27:09 -0000 (UTC) Injection-Info: dont-email.me; posting-host="f5ea45da094e9e4e5324bf88ed876455"; logging-data="506388"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xHMMDrT2KqvgK7J+Unoyg9v+X94wJ5VM=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Cancel-Lock: sha1:DVlOrTRgNFs3CN+yeCMVGmPQD6M= Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:65666 List-Id: 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?