comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Packaging and linking shared Ada libraries
Date: Tue, 8 Mar 2011 02:48:34 -0800 (PST)
Date: 2011-03-08T02:48:34-08:00	[thread overview]
Message-ID: <68895e03-b4d7-44a8-b356-c9bfeda0c78a@k38g2000vbn.googlegroups.com> (raw)
In-Reply-To: 4d75245e$0$22170$742ec2ed@news.sonic.net

R Tyler Croy wrote on comp.lang.ada:
> Looking at some of Ludovic's packages, he's actually defined a debian build
> .gpr file and adds a Makefile to use that .gpr to build, then place the files
> he needs in the appropriate directories. I'm following a similar approach.

Right.  The Makefile is part of the Debian automated build
infrastructure and it is mandated by the (general, not Ada-specific)
Debian Policy.  The part about "plac[ing] the files [I] need in the
appropriate directories" deserves a bit more explanation.  Remember
that this is in the context of a binary distribution where the person
building the package (me) is not the same as the person who will later
use the package.

So, in this context, the "appropriate directories" are system-wide
(not in a user's home directory), under control of the package manager
(dpkg in the case of Debian) and not writable by the end user.

The solution suggested by Simon is only appropriate for a source
distribution where the end user is also a system administrator and has
write privileges in the compiler installation directories.

--
Ludovic Brenta.



  reply	other threads:[~2011-03-08 10:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-07  5:32 Packaging and linking shared Ada libraries R Tyler Croy
2011-03-07  7:15 ` Simon Wright
2011-03-07 18:30   ` R Tyler Croy
2011-03-08 10:48     ` Ludovic Brenta [this message]
2011-03-07  9:55 ` Ludovic Brenta
2011-03-07 18:27   ` R Tyler Croy
2011-03-07 13:27 ` Julian Leyh
replies disabled

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