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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.36.199.193 with SMTP id t184mr913129itg.11.1507289409182; Fri, 06 Oct 2017 04:30:09 -0700 (PDT) X-Received: by 10.157.1.201 with SMTP id e67mr21740ote.23.1507289409106; Fri, 06 Oct 2017 04:30:09 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.unit0.net!peer02.am4!peer.am4.highwinds-media.com!peer04.fr7!futter-mich.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!v62no256429itd.0!news-out.google.com!194ni639itf.0!nntp.google.com!v62no253793itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 6 Oct 2017 04:30:08 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:18f:900:f900:453d:87a5:de7c:1786; posting-account=AvekzAoAAABj-TclKcOWQmXwA49MFPGX NNTP-Posting-Host: 2601:18f:900:f900:453d:87a5:de7c:1786 References: <9885a3fd-8ffa-4076-ba1f-db2f8035e0dc@googlegroups.com> <977c48e8-6b5b-4b0e-84a9-cd6447a9ddc3@googlegroups.com> <15345d32-0610-444e-b611-f480bf60f9f0@googlegroups.com> <93483ae9-c1ec-4cbe-92f9-49eaf41bc1f3@googlegroups.com> <5984e47c-cfe5-4d22-9907-f113f24647b9@googlegroups.com> <2bc424a1-3559-42bb-9f40-22763c21e7f2@googlegroups.com> <761a5a41-04de-4f48-aac2-f5fe167dabd5@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <41f9bb00-4fa3-472e-98e4-d32e5ae4e2d6@googlegroups.com> Subject: Re: The best possible way to call a function in a shared library From: John Smith Injection-Date: Fri, 06 Oct 2017 11:30:09 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Body-CRC: 97318631 X-Received-Bytes: 2824 Xref: news.eternal-september.org comp.lang.ada:48373 Date: 2017-10-06T04:30:08-07:00 List-Id: On Friday, October 6, 2017 at 2:46:58 AM UTC-4, Dmitry A. Kazakov wrote: > On 2017-10-06 04:21, John Smith wrote: > > > Ok, another problem. I have this project file that is responsible to > > act as an in-between the *.a file for when I don't necessarily have the > > source code: > > It must have source code of the library interface, obviously... > > [...] > > > So, I compile stuff and I get an error message saying that there are > > missing *.ads files... but aren't I supposed to not have them in the > > first place? > > If you reference a package P doing "with P", how are you supposed to not > have "p.ads"? > > -- > Regards, > Dmitry A. Kazakov > http://www.dmitry-kazakov.de Good point. I did reference it now in the static_project.gpr. Now it's complaining about not knowing which language it's dealing with.