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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,a37346df6c4c3011 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,CP1252 Path: g2news2.google.com!postnews.google.com!o7g2000yqb.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Re: Using shared libraries Date: Fri, 10 Jul 2009 14:31:05 -0700 (PDT) Organization: http://groups.google.com Message-ID: <681bd151-4744-4fde-8870-ed025ce64782@o7g2000yqb.googlegroups.com> References: <47e91fbf-8396-4105-8cc0-eacffab97c4a@c36g2000yqn.googlegroups.com> NNTP-Posting-Host: 86.66.190.26 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1247261465 16126 127.0.0.1 (10 Jul 2009 21:31:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 10 Jul 2009 21:31:05 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o7g2000yqb.googlegroups.com; posting-host=86.66.190.26; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6961 Date: 2009-07-10T14:31:05-07:00 List-Id: Ada compilers needs specifications to use a packages. So I suppose at least the specification files should shipped in one of the compiler include search paths. If you are using GNAT, you may try to simply import the library project from the application project which needs the library (providing you've built the library with a library project). To do so, either addd =93 with "librarypath/mylibrary.gpr " =94 at the start of your application project file, or else, from GPS, add a dependency to the library project in the application project dependencies. Greatings