comp.lang.ada
 help / color / mirror / Atom feed
From: "Lucretia" <lucretia9@lycos.co.uk>
Subject: Re: Multiple shared libraries with a single spec
Date: 4 Nov 2005 05:03:21 -0800
Date: 2005-11-04T05:03:21-08:00	[thread overview]
Message-ID: <1131109401.159287.109900@g47g2000cwa.googlegroups.com> (raw)
In-Reply-To: <hYIaf.613$9O7.445@reader1.news.jippii.net>


Niklas Holsti wrote:
> I'm working on an Ada program that has different versions, as in
> your example. I put the different versions of the package bodies
> (and specifications, too, for some packages) in different
> source-code directories, as you do. To build a specific version of
> the program, I list the source-code directories for the desired
> version in ADA_INCLUDE_PATH (and also in ADA_OBJECTS_PATH, but I
> think this is unnecessary for me) and then run "gnatmake" in a
> directory dedicated to this version. The .ali and .o files and the
> executable go in this version-specific directory. I don't use
> symlinks, just ADA_INCLUDE_PATH.

The problem i've found is, if the .adb file is in the same directory as
the .ali, .o and the shared lib, the source code will be linked
directly into the final executable. The executable still requires the
shared lib, but it doesn't actually use it. How do you get around this?
Do you dump the ali and shared lib to a different directory?

Thanks,
Luke.




  reply	other threads:[~2005-11-04 13:03 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 [this message]
2005-11-04 13:22     ` Niklas Holsti
2005-11-04 15:43       ` Lucretia
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