comp.lang.ada
 help / color / mirror / Atom feed
From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: Re: Using shared libraries
Date: Fri, 10 Jul 2009 14:31:05 -0700 (PDT)
Date: 2009-07-10T14:31:05-07:00	[thread overview]
Message-ID: <681bd151-4744-4fde-8870-ed025ce64782@o7g2000yqb.googlegroups.com> (raw)
In-Reply-To: 47e91fbf-8396-4105-8cc0-eacffab97c4a@c36g2000yqn.googlegroups.com

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 “ with "librarypath/mylibrary.gpr " ” 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



  reply	other threads:[~2009-07-10 21:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10 21:03 Using shared libraries Tomek Walkuski
2009-07-10 21:31 ` Hibou57 (Yannick Duchêne) [this message]
2009-07-11  7:47   ` Tomek Wałkuski
2009-07-11  8:48 ` Dmitry A. Kazakov
replies disabled

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