comp.lang.ada
 help / color / mirror / Atom feed
From: richardthiebaud <thiebauddick2@aol.com>
Subject: Re: Main program can't find subprogram
Date: Sun, 17 Sep 2023 14:16:58 -0400	[thread overview]
Message-ID: <ue7fqq$fu37$1@dont-email.me> (raw)
In-Reply-To: <19d89db4-8f09-4a19-9297-9cdf7eff5563n@googlegroups.com>

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.

      reply	other threads:[~2023-09-17 18:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-17 17:27 Main program can't find subprogram richardthiebaud
2023-09-17 17:42 ` reinert
2023-09-17 18:16   ` richardthiebaud [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox