From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ac8:854:: with SMTP id x20mr6061082qth.279.1572800740610; Sun, 03 Nov 2019 09:05:40 -0800 (PST) X-Received: by 2002:aca:3846:: with SMTP id f67mr16283886oia.78.1572800740307; Sun, 03 Nov 2019 09:05:40 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!j16no6989087qtl.0!news-out.google.com!g53ni494qtg.0!nntp.google.com!j16no6989083qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 3 Nov 2019 09:05:40 -0800 (PST) In-Reply-To: <23e06767-a486-434b-9ae0-4b3934a5e18b@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:a03f:e3e9:4d00:1260:4bff:fe89:deb2; posting-account=kTRirAoAAACnF_wtAOSamxYBSVvmJuCa NNTP-Posting-Host: 2a02:a03f:e3e9:4d00:1260:4bff:fe89:deb2 References: <23e06767-a486-434b-9ae0-4b3934a5e18b@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <534aa309-ce3b-4454-a2c8-bcee50f8fbde@googlegroups.com> Subject: Re: How to link to ada-util From: Alain De Vos Injection-Date: Sun, 03 Nov 2019 17:05:40 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:57453 Date: 2019-11-03T09:05:40-08:00 List-Id: On Thursday, October 31, 2019 at 6:53:24 PM UTC+1, Alain De Vos wrote: > The ada-util package has many interesting features. > https://github.com/stcarrez/ada-util > How I use it. > I copy my application to the samples directory and run the gnatmake -Psamples which uses samples.gpr. > I have not find a better way to link to ada-util. > Is there a better easier way ? > > When I try a simple gnat make test.adb on a file containing : > with Util.Streams.Pipes; > I get the error "util.ads" not found. > I think I need to tell the systeem where to look for all necessary .ads files, which are in a tree ... Don't you need two project files. A project file when the package exists as sources in the subtree. A project file when the package is installed.