From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,28035108fa5d8b72 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!n4g2000vba.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: adding include path in linux Date: Mon, 18 May 2009 04:01:58 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <1mzy0lms2ok83.14pusmelshbp1$.dlg@40tude.net> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1242644518 21024 127.0.0.1 (18 May 2009 11:01:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 18 May 2009 11:01:58 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n4g2000vba.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5891 Date: 2009-05-18T04:01:58-07:00 List-Id: Dmitry A. Kazakov wrote on cpmp.lang.ada: > On Mon, 18 May 2009 03:00:52 -0700 (PDT), Ludovic Brenta wrote: > > On May 18, 11:53=A0am, "Dmitry A. Kazakov" > > wrote: > >> Maybe, it would appropriate here. > > >> I am going to write a small portable GtkAda-based installer program fo= r > >> GNAT library gpr projects. The basic idea is to get rid of ugly makefi= les, > >> which never work as expected. > > >> The thingy should do everything just per reading lists of files to ins= tall > >> from a directory of sources. Then according to the file names and > >> extensions it will shuffle the files here and there. > > >> Some mangling of the gpr files is planned. In particular modifying "wi= th" > >> paths and "for Object_Dir use" stuff etc. > > >> Generation of a messy python plug-in script is also in plan. > > >> Any suggestions? > > > Please define "portable"? > > Minimally: working under Windows and Linux. > > > Debian for one does not need a GtkAda-based installer because it > > already has one, called Synaptic (as well as a text-based installer > > called Aptitude). Most other self-respecting distributions come with > > both installers and a proper package management system. > > Yes, a system working only on the platform in question, like rpm. > > > So, what > > platform are you targetting that does not already have these? > > Technically speaking GNAT GPS. GNAT GPS is not a platform. It runs on a platform that you have identified as "Windows and Linux". The platform provides a package management system (including installation and configuration subsystem). It would be harmful for GNAT GPS to provide another incompatible system. I suggest that the best use of resources, if packaging/installation is a problem, is to provide native installers for a selection of target platforms, and to make the libraries thus packaged highly visible to users of those platforms. For example, installers for libraries that use Window's or Red Hat's (since you mentioned RPM) package management system. That's what I do (successfully) in Debian and I have been encouraging others to do the same on other platforms for several years. This is in fact one area where, IMHO, portability is NOT desirable. The closest thing in existence is the GNU Ada Project which provides native packages of several libraries (and versions of GNAT) for multiple platforms, from a common base. But the binary packages are themselves platform-dependent. -- Ludovic Brenta.