From: "Lucretia" <lucretia9@lycos.co.uk>
Subject: Re: Multiple shared libraries with a single spec
Date: 4 Nov 2005 07:43:33 -0800
Date: 2005-11-04T07:43:33-08:00 [thread overview]
Message-ID: <1131119013.915855.25010@g47g2000cwa.googlegroups.com> (raw)
In-Reply-To: <gkJaf.620$BM7.73@reader1.news.jippii.net>
Niklas Holsti wrote:
> Ah - when you say "shared lib", do you mean a *dynamically* linked
> library? I thought you just meant a library that is used by
> several programs or different versions of a program, but has
> different implementations for different environments.
Nope a shared library, as in dynamically linked. Hence the use of
dlopen and dlsym in the OP ;-D
> Sorry for my misunderstanding. I don't have any experience with
> making dynamically linked libraries.
No problems. It took a while to get sorted, but it can be done,
although GNAT really makes it difficult.
> In my case, the choice of versions influences many parts of the
> program, not just the libraries but also their client packages, so
> linking the libraries dynamically would not make sense.
>
> > Do you dump the ali and shared lib to a different directory?
>
> It may not be relevant to your problem, as I misunderstood your
> aims, but for this program I never have the .adb in the same
> directory as the .ali and .o.
Ok. I currently build in the directory with the source, I should change
this so that the objects and ali's go somewhere else.
Luke.
next prev parent reply other threads:[~2005-11-04 15:43 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-04 12:28 Multiple shared libraries with a single spec Lucretia
2005-11-04 12:56 ` Niklas Holsti
2005-11-04 13:03 ` Lucretia
2005-11-04 13:22 ` Niklas Holsti
2005-11-04 15:43 ` Lucretia [this message]
2005-11-04 16:31 ` Pascal Obry
2005-11-04 17:36 ` Martin Krischik
2005-11-04 17:31 ` Martin Krischik
2005-11-04 21:55 ` Niklas Holsti
2005-11-04 13:04 ` Lucretia
2005-11-04 14:09 ` Stephen Leake
2005-11-04 15:53 ` Lucretia
2005-11-04 17:34 ` Martin Krischik
2005-11-05 10:41 ` Stephen Leake
2005-11-05 11:44 ` Lucretia
2005-11-05 14:17 ` Martin Krischik
2005-11-05 15:47 ` Stephen Leake
2005-11-05 16:00 ` Stefan Bellon
2005-11-06 11:57 ` Stephen Leake
2005-11-06 12:33 ` Stefan Bellon
2005-11-07 17:30 ` Lucretia
2005-11-07 23:42 ` Stephen Leake
2005-11-08 6:31 ` Stefan Bellon
2005-11-05 14:12 ` Martin Krischik
2005-11-05 14:22 ` Pascal Obry
2005-11-07 14:12 ` Frank J. Lhota
2005-11-07 17:31 ` Pascal Obry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox