comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Installing .ads, best practices ?
Date: Mon, 30 Apr 2018 18:53:47 +0200
Date: 2018-04-30T18:53:47+02:00	[thread overview]
Message-ID: <pc7hmr$ck3$1@gioia.aioe.org> (raw)
In-Reply-To: cd000b21-e159-4d0c-bb1e-002b7a5c36b0@googlegroups.com

On 2018-04-30 18:25, patrick@spellingbeewinnars.org wrote:

> It's actually my "library", I write "library" in quotes because it is currently 6 lines long, LOL.
> 
> The environment variables worked perfectly.

> I am going to use /usr/local/lib + include for now as I guess there isn't a convention regarding tiny user written libraries.
> 
> based on the Ludovic's document, I could install here later:
> ADA_INCLUDE_PATH += :/usr/share/ada/adainclude/LIBRARY
> ADA_OBJECTS_PATH += :/usr/lib/TARGET/ada/adalib/LIBRARY

No you should not, because it is different under different Linux 
distributions plus even more different when multi-arch comes into 
consideration!

If you are not going to make it right, do nothing. Just supply the 
sources and the gpr-file. The user can unpack it in whatever directory 
he chooses and then use the project file.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2018-04-30 16:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-30 13:17 Installing .ads, best practices ? patrick
2018-04-30 14:38 ` Niklas Holsti
2018-04-30 15:03 ` Dmitry A. Kazakov
2018-04-30 16:25   ` patrick
2018-04-30 16:53     ` Dmitry A. Kazakov [this message]
2018-04-30 16:48 ` Simon Wright
2018-04-30 17:21   ` patrick
2018-04-30 17:27     ` patrick
replies disabled

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