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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a37:9d96:: with SMTP id g144mr724068qke.93.1572601013444; Fri, 01 Nov 2019 02:36:53 -0700 (PDT) X-Received: by 2002:a9d:5911:: with SMTP id t17mr7676696oth.82.1572601013206; Fri, 01 Nov 2019 02:36:53 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!feeder1.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!j16no10072500qtl.0!news-out.google.com!p4ni208qtu.1!nntp.google.com!j16no10072492qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 1 Nov 2019 02:36:52 -0700 (PDT) In-Reply-To: <23e06767-a486-434b-9ae0-4b3934a5e18b@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=136.163.208.2; posting-account=HFCrOQoAAABZD_f-UUbYHm3lJDIrh-UX NNTP-Posting-Host: 136.163.208.2 References: <23e06767-a486-434b-9ae0-4b3934a5e18b@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <729e75f4-f435-4728-bbbb-fefe8d402164@googlegroups.com> Subject: Re: How to link to ada-util From: joakimds@kth.se Injection-Date: Fri, 01 Nov 2019 09:36:53 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:57409 Date: 2019-11-01T02:36:52-07:00 List-Id: Den torsdag 31 oktober 2019 kl. 18:53:24 UTC+1 skrev Alain De Vos: > 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 ... Ada-Util has dependencies upon other github repositories and it is part of the AWA framework. To be able to use Ada-Util I recommend going to https://github.com/stcarrez/ada-awa and follow the instructions there: git clone git@github.com:stcarrez/ada-awa.git cd ada-awa git submodule init git submodule update Best regards, Joakim