comp.lang.ada
 help / color / mirror / Atom feed
From: reinert <reinkor@gmail.com>
Subject: Re: Main program can't find subprogram
Date: Sun, 17 Sep 2023 10:42:57 -0700 (PDT)	[thread overview]
Message-ID: <19d89db4-8f09-4a19-9297-9cdf7eff5563n@googlegroups.com> (raw)
In-Reply-To: <ue7ctd$fegk$1@dont-email.me>

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", ...
?

  reply	other threads:[~2023-09-17 17:42 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 [this message]
2023-09-17 18:16   ` richardthiebaud
replies disabled

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