comp.lang.ada
 help / color / mirror / Atom feed
From: patrick@spellingbeewinnars.org
Subject: Installing .ads, best practices ?
Date: Mon, 30 Apr 2018 06:17:40 -0700 (PDT)
Date: 2018-04-30T06:17:40-07:00	[thread overview]
Message-ID: <74e6a67b-092a-4059-82e9-b6f6838cf709@googlegroups.com> (raw)

Hi Everyone

If we create our own C libraries on Linux(or similar posix) the best practice is to put the header in /usr/local/lib and not in /usr/lib where the original libraries installed by the package manager or at install time are located.

On my system, most of the .ads spec files are located in:
/usr/lib/gcc/x86_64-linux-gnu/4.6/rts-native/adainclude/

It doesn't seem to like a good idea to install my own spec files there for system wide use.

Would /usr/local/include be better? Do you use something like this? If so, do you have an environmental variable in your.bashrc so that gnatmake finds it without passing an argument ?

Thanks for reading-Patrick

             reply	other threads:[~2018-04-30 13:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-30 13:17 patrick [this message]
2018-04-30 14:38 ` Installing .ads, best practices ? Niklas Holsti
2018-04-30 15:03 ` Dmitry A. Kazakov
2018-04-30 16:25   ` patrick
2018-04-30 16:53     ` Dmitry A. Kazakov
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