comp.lang.ada
 help / color / mirror / Atom feed
* Installing .ads, best practices ?
@ 2018-04-30 13:17 patrick
  2018-04-30 14:38 ` Niklas Holsti
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: patrick @ 2018-04-30 13:17 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-04-30 17:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2018-04-30 16:48 ` Simon Wright
2018-04-30 17:21   ` patrick
2018-04-30 17:27     ` patrick

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